I am running Xampp for a dev server on Windows 7.
my windows 7 hosts file @
(C:\Windows\System32\drivers\etc\hosts) has this...
127.0.0.1 www.testing.com testing.com localhost
My Apache http-vhosts.conf
file has this...
<VirtualHost *:80> DocumentRoot "E:/Server/htdocs/myframework" ServerName testing.com ServerAlias www.testing.com </VirtualHost> <VirtualHost *:80> DocumentRoot "E:/Server/htdocs/" ServerName localhost ServerAlias localhost </VirtualHost>
Now my problem is when I go to
localhost in the browser, it ALWAYS loads the files from
E:/Server/htdocs/myframework so the real problem is when I go to
localhost it should load files from
E:/Server/htdocs/ instead of from
I am at a loss here, can someone please help me with this issue?