Miva Order Step-By-Step Installation ------------------------------------ 1. Determine if you are doing a CGI-mode installation or a redirected installation. If you access the Miva Engine on your WWW site with a url such as: http://www.somesite.com/cgi-bin/miva?file.mv, you will need to follow the instructions for a CGI-mode installation. If you are able to access Miva Script files simply by specifying their names, as in: http://www.somesite.com/file.mv, you will need to follow the instructions for a redirected installation. If you have a choice between the two methods, we recommend you perform a redirected installation, as it is simpler. 2. Locate the installation directories. CGI-mode installation: You will need to determine the directory for HTML files and the directory for Miva Script files. HTML files are typically stored in a directory called public_html under your home directory on the WWW server. If such a directory does not exist, please contact your ISP for the correct directory. Miva Script files are typically stored in a directory called public_hts under your home directory. If such a directory does not exist, please contact your ISP for the correct directory for Miva Script files. Redirected installation: You will need to determine the directory for HTML files (this is sometimes referred to as the "document root") for your WWW site. This is typically a directory called public_html under your home directory on the WWW server. If such a directory does not exist, please contact your ISP for the correct directory. 2. Transfer/unpack the Miva Order files If you downloaded the self-extracting Miva Order distribution for Windows, you will need to transfer the Miva Order files from your PC to the WWW server. This can be accomplished using an FTP client, such as WS/FTP or FTP Explorer. The entire contents of the distribution, including subdirectories, should be transferred into your HTML directory (for redirected installations), or your Miva Script directory (for CGI-mode installations). If you downloaded the TAR file distribution, you can directly unpack the distribution on your WWW server, if you have Telnet access (otherwise, you will need to unpack the distribution elsewhere and transfer the files to the WWW server). Change directory to the HTML directory determined in step 1: cd Extract the files: tar -xvf CGI-mode installations only: In order for Miva Order to properly locate its graphic files, you must move them from the Miva Script directory to the HTML directory. We recommend that you create a Order/ subdirectory under the HTML directory, and transfer the entire contents of the Order/graphics/ subdirectory from your Miva Script directory to the newly created Order/ subdirectory of your HTML directory. In addition, you should transfer the file mmdocs.htm from the Order/ subdirectory of your Miva Script directory to the Order/ subdirectory of your HTML directory. 3. Run setup.mv setup.mv creates all the data files needed by Miva Order, and automatically determines and configures the URLs used to access Miva Order and the Administration interface. CGI-mode installations: The URL used to access setup.mv will depend on whether you have a "Virtual Domain" or simply a user account on an existing domain. If you have a Virtual Domain, the URL will be similar to: http://www.mydomain.com/cgi-bin/miva?Order/setup.mv If you have a user account, the URL will be similar to: http://www.isp.com/cgi-bin/miva?~myusername/Order/setup.mv Redirected installations: The URL used to access setup.mv will depend on whether you have a "Virtual Domain" or simply a user account on an existing domain. If you have a Virtual Domain, the URL will be similar to: http://www.mydomain.com/Order/setup.mv If you have a user account, the URL will be similar to: http://www.isp.com/~myusername/Order/setup.mv After the installation process is complete, setup.mv will provide you with the URLs used to access the order form interface (what your customers will use to purchase your products) and the Miva Order Administration interface (what you will use to configure Miva Order).