Re: Path confusion in XAMPP when running on Edge Browser
Posted: 20. October 2015 23:39
I assume this is because localhost may be the only loopback entry allowed in Edge. To test, I use this with my hosts file pointing all 4 to 127.0.0.1:
The first 3 (localhost, test1.com, test2.com) work perfectly as expected. If I try "test3", the search engine takes over. If I try "http://test3/", it times out. Try for your system to see if you can get it to work with .com or .local or something.
- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "C:/xampp/htdocs">
Require all granted
AllowOverride All
Options Indexes FollowSymLinks
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@test1.com
DocumentRoot "C:/xampp/vhosts/test1"
ServerName test1.com
ErrorLog "logs/test1.com-error.log"
CustomLog "logs/test1.com-access.log" common
<Directory "C:/xampp/vhosts/test1">
Require all granted
AllowOverride All
Options Indexes FollowSymLinks
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@test2.com
DocumentRoot "C:/xampp/vhosts/test2"
ServerName test2.com
ErrorLog "logs/test2.com-error.log"
CustomLog "logs/test2.com-access.log" common
<Directory "C:/xampp/vhosts/test2">
Require all granted
AllowOverride All
Options Indexes FollowSymLinks
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@test3
DocumentRoot "C:/xampp/vhosts/test3"
ServerName test3
ErrorLog "logs/test3-error.log"
CustomLog "logs/test3-access.log" common
<Directory "C:/xampp/vhosts/test3">
Require all granted
AllowOverride All
Options Indexes FollowSymLinks
</Directory>
</VirtualHost>
The first 3 (localhost, test1.com, test2.com) work perfectly as expected. If I try "test3", the search engine takes over. If I try "http://test3/", it times out. Try for your system to see if you can get it to work with .com or .local or something.