I am trying to setup virtual wamp localhost.
root folder: c:\wamp\www
root folder: c:\wamp\site2
Steps of every kind is already taken: removing # from file "httpd.conf"
#Include conf/extra/httpd-vhosts.conf addition in httpd-vhosts.conf: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" common </VirtualHost> <VirtualHost *:80> DocumentRoot "c:/wamp/site2" ServerName mysite.local <directory "c:/wamp/site2"> Options Indexes FollowSymLinks AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </directory> </VirtualHost>
addition in hosts file:
problem is, in either case i get to www root folder through localhost or mysite.local. ANy solution?