Eric Covener wrote:
> On Sun, Apr 5, 2009 at 10:58 AM, Developer <dev...@pas-world.com> wrote:
>   
>> Hello,
>> I have config file like this:
>>
>> ...
>>     
>>>         Listen [fec0::40]:80
>>>         NameVirtualHost myhost.com:80.
>>>         <VirtualHost myhost.com:80 >
>>>                 ServerName  myhost.com.
>>> ...
>>> </VirtualHost>
>>>       
>
> httpd/apachectl/apache2ctl -S would probably show you that either NVH
> and VH don't match exactly, or you have duplicate NVH'es.
>
>   
I have found that NameVirtualHost foo.com:80 causes this error message.
if you have NameVirtualHost *:80 the error goes away.
Then specify the host name in the vhost container as has been done.


I tried specifying the name in the NameVirtualHost for 3 domains.
[ one entry per domain, naturally. ] It was only by using the *.:80 in
the NameVirtualHost directive, and only having the one NameVirtualHost
for multiple vhosts that the error went away.

Jaqui



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

Reply via email to