# NOTES:
#
# Be sure the script has execute permissions:
# chmod +x mivaconfig.sh
#
# To get a list of ALL options:
# ./mivaconfig.sh --help
#
# -----------------------------------------------------------------------------
#
# To setup a non-SSL site, use:
# ./mivaconfig.sh --user=USERNAME --site=/home/httpd/vhosts/DOMAIN.COM
#
# USERNAME should be the user who owns the site, and "DOMAIN.COM" should be the
# real doamain of the site.
#
# For an SSL-enabled site, use:
# ./mivaconfig.sh --user=USERNAME --site=/home/httpd/vhosts/DOMAIN.COM --ssl
#
# To add SSL support to an *already configured* Miva store, use:
# ./mivaconfig.sh --user=USERNAME --site=/home/httpd/vhosts/DOMAIN.COM --add-ssl
#
# There are a few other parameters as well (allowing you to do certain
# parts of the installation separately) - if you ever need those, you can
# read up on them in the "--help" text.
#
# -----------------------------------------------------------------------------
#
# Be sure to set the sourcepath value below. The sourcepath directory should also
# contain the mivavm-vX.XX directory as well as the Merchant2 directory.
#
# This script was written for Miva VM v4.14. If you wish to install a different
# version, you can try changing the "MIVAVERSION" variable below, although
# versions other than v4.14 have NOT BEEN TESTED.