httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Problem w/ V-Host
Date Tue, 19 Aug 2003 00:01:36 GMT
Jeff Baldwin wrote:
> NameVirtualHost 1.2.3.1:*

I haven't seen that one before. This is telling Apache to run NBVH on *all*
ports on that interface. Likely, you want to remove the port (:*), or add
directives for each port if you have (non-SSL) sites running on other than
port 80.

> <VirtualHost test.test.edu>

In general, you should either have the IP or '*' here. Having a hostname
will cause Apache to do a DNS lookup in order to determine the IP to 'bind'
the VirtualHost to. If test.test.edu doesn't resolve to the IP given in
NameVirtualHost, you'll have trouble.

If you are having trouble, do not just add 10 old VirtualHosts at the same
time, but take one at a time and make sure it works between each
change/addition.

You may want to take a step back and reread the docs on VirtualHosts; it is
often helpful.

Regards,
Robert Andersson


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message