Joseph Morgan wrote:
I am having a problem configuring virtual hosts on my Apache 2.2.6 server. Apache ALWAYS serves up the first virtual host regardless of the actual host requested.
Well, that does not look close to my Virtual Hosts section of my httpd.conf - excerpted here:
NameVirtualHost * <VirtualHost *> ServerName no.name DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" </VirtualHost> <VirtualHost *> ServerName www.k6ccc.org ServerAlias k6ccc.org *.k6ccc.org DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/k6ccc.org" </VirtualHost> <VirtualHost *> ServerName www.thewallshouse.org ServerAlias thewallshouse.org *.thewallshouse.orgDocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/TheWallsHouse.org"
</VirtualHost> <VirtualHost *> ServerName www.wc-phantoms.org ServerAlias wc-phantoms.org *.wc-phantoms.orgDocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/wc-phantoms.org"
</VirtualHost>The first is the default if someone comes in looking for the IP address. This works...
-- 73 ------------------------------------- Jim Walls - K6CCC jim@xxxxxxxxx Ofc: 818-548-4804 http://home.earthlink.net/~k6ccc AMSAT Member 32537 - WSWSS Member 395 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx