I'm struggling with a little problem, i'll try to explain it in english:
I hava a windows server 2003 with xampp up and running
On my D partition i have a directory "www" which i can access by 'http://localhost' (localy on the server), and by 'http://servername/' true the LAN
On my Z partition i have a directory "www" which i can access by 'http://foto.localhost/' (localy on the server), i can't reach it on the LAN.
So http://servername/ works on the LAN, http://foto.servername/ doesn't...
i've changed the vhost file in the config/extra dir of apache like this:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot D:\www
ServerName localhost
<Directory D:\www>
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot Z:\www
ServerName foto.localhost
<Directory Z:\www>
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
in my system32/drivers/etc/host file i have added the following two lines:
127.0.0.1 localhost
127.0.0.1 foto.localhost
It's very strange it works fine localy on the server, but not on the LAN,
Can anyone help me?
Greetings, Joachim