Forum Moderators: phranque
Ta, Paul.
P.s Im running Apache 2 on a Windows 2003 Server.
Heres a copy of my conf file. [members.iinet.net.au...]
in my httpd.conf I have:
Listen *:9955 and later defined two virtual hosts
<VirtualHost *:9955>
ServerAdmin mee@gmail.com
DocumentRoot n:/web/pathbits/host1
ServerName host1.gmail.com
</VirtualHost><VirtualHost *:9955>
ServerAdmin mee@gmail.com
DocumentRoot n:/web/pathbits/host2
ServerName host2.gmail.com
</VirtualHost>
And I noticed when I used host3.gmail.com (currently undefined in apache) host1.gmail.com tried to load. To solve this (keep in mind I'm an apache novice but a determined geek) I added a new virtual host above the other two:
<VirtualHost *:9955>
ServerAdmin mee@gmail.com
DocumentRoot n:/web/pathbits/empty
ServerName *
</VirtualHost> This prevented me from 'discovering' the other virtual hosts.