Problem with vhosts (xampp-win32-1.7.4-beta5-vc6-installer)
Posted: 15. January 2011 17:40
Today I finnaly replaced stable version of XAMPP with new beta (because I needed newer version of PHP). Everything was fine until I started to creating virtual hosts as I have in older version.
Problem is when I set new virtual host, i.e.
(where D:/www is the DocumentRoot configured in apache httpd.conf; record in etc/hosts file is also set)
It seems, server tries to run this virtual host EVERYTIME. I.e.
http://localhost/
display content of d:/www/test/.
http://localhost/info.php
Page was not foud.
Maybe default behaviour is only wrong configured, but in last version everything was OK without any special configuration.
I really didn't see this before and I can't find answer so if anyone could help, I appreciate it.
Thank a lot.
Problem is when I set new virtual host, i.e.
- Code: Select all
<VirtualHost *:80>
DocumentRoot "D:/www/test"
ServerName test.localhost.cz
</VirtualHost>
(where D:/www is the DocumentRoot configured in apache httpd.conf; record in etc/hosts file is also set)
It seems, server tries to run this virtual host EVERYTIME. I.e.
http://localhost/
display content of d:/www/test/.
http://localhost/info.php
Page was not foud.
Maybe default behaviour is only wrong configured, but in last version everything was OK without any special configuration.
I really didn't see this before and I can't find answer so if anyone could help, I appreciate it.
Thank a lot.