Miva Virtual Machine: Miva Configuration File mivavm.conf
Posted by - NA -, Last modified by Wayne Smith on 02 June 2014 10:24 AM
Miva Empresa Virtual Machine - Private Install Mode: Installing a single instance of the Miva Virtual Machine for a single site to use on a server will require you to generate a Miva configuration file 'mivavm.conf'.
Determine the location of the apache configuration file (httpd.conf) for this site
NOTE: Your server UNIX/Linux flavor may differ from the paths and or commands below so adjust the instructions accordingly if needed.
Determine the location of the private cgi-bin for this site
<VirtualHost> and </VirtualHost> are used to enclose a group of directives that will apply only to a particular virtual host. If your <VirtualHost> tags are formatted a little differently no worries just ensure a ScriptAlias directive for the cgi-bin is found and is true.
Now that we know the location of the private cgi-bin of this site we can create the Miva configuration file using vi.
NOTE: This is the same location you will find the Miva binary file 'mivavm' and the Miva configuration library 'libmivaconfig.so'
If you find that there is already a mivavm.conf file you can edit it or rename it and keep it as a backup. I usually just rename it and use it as a reference to specific configurations that might be missing in the default template below.
Test your Miva configuration: Miva Diagnostic Application
The Miva Merchant Diagnostic Application diag6.mvc program is a very useful tool to determine the current configuration and troubleshooting problems with the current configuration. The Miva Merchant Diagnostic Application is distributed with the engine (mivavm-v5.20\tools\diagtool.mvc).