[K12OSN] OT: Apache

Henry Hartley henryhartley at westat.com
Wed Feb 13 17:43:13 UTC 2008


Peter Hartmann wrote:
>> 
>> Talk about weird..  NameVirtualHost  x.x.x.x:80 refused to work.
>> As soon as I changed it to *:80 all was well.   iptables?

In the VirtualHost directives for your various hosts, do you have
<VirtualHost 1.2.3.4> or <VirtualHost 1.2.3.4:80> or do you have
<VirtualHost *:80>?  If the later, then that's the problem.  The
NameVirtualHost directive must exactly match the <VirtualHost 1.2.3.4>
directive.

http://httpd.apache.org/docs/2.2/mod/core.html#namevirtualhost

-- 
Henry




More information about the K12OSN mailing list