I've got a virtual host, but sadly, it seems to override the localhost xampp page. How can I get around this? I've tried several different things but none has worked.
In vhosts:
- Code: Select all
## local.test.leaf
<VirtualHost *:80>
DocumentRoot G:/web/test.leaf/htdocs
ServerName local.test.leaf
ServerAdmin admin@local.test.leaf
<Directory "G:/web/test.leaf/htdocs/">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>
</VirtualHost>
in windows hosts file:
- Code: Select all
127.0.0.1 localhost
127.0.0.1 local.test.leaf
One would think changing the local.test.leaf to a different IP would fix this issue but it hasn't. I don't see others complain about this issue, so I'm guessing it's just me. localhost shouldn't be showing the same page as local.test.leaf.