One method to install the TomatoCart using xampp at localhost is to modify two files.
1. Find the file named ‘hosts’ which exist in ‘c:/windows/system32/drivers/ext/’. Then, add “127.0.0.1
www.tomato.com” to it.
2. Find the file named ‘httpd-vhosts’ which exist in ‘xampp/apache/conf/extra/’. Then, add the contents described blow to it.
<Directory "d:/workspace/tomatocart">
Options Indexes FollowSymLinks
Allowoverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerName tomato.com
ServerAlias
www.tomato.com
ServerAdmin "
admin@minib2b.eu"
DocumentRoot d:/workspace/tomatocart
</VirtualHost>
The ‘d:/workspace/tomatocart’ is the path where the tomatocart system files existed in.
3. Now, please restart the apache. The install interface of tomatocart will display when typing ‘
www.tomato.com’ to the browser.
4. If you want to access the phpmyadmin to manage the mysql database, please type ‘localhost/phpmyadmin’ to the browser.