This question already has an answer here:
- Why not use a WAMP stack? 3 answers
I have problem about setting new project. I just installed wamp 2.2E. I am using windows XP. In folder /www I created folder /example. In WINDOWS/system32/drivers/etc/hosts I added
and in G:\wamp\bin\apache\apache2.2.22\conf\extra\httpd-vhosts.conf added at the end
NameVirtualHost dev.example.com:80 <VirtualHost dev.example.com:80> DocumentRoot "G:/wamp/www/example" ServerName dev.example.com ServerAlias dev.example.com <Directory "G:/wamp/www/example"> Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Order allow,deny Allow from All </Directory> </VirtualHost>
The problem is when I go to dev.example.com/index.php I still get content from www/index.php instead of www/example/index.php. Did I miss anything?