Re: About: NameVirtualHost ... has no VirtualHosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Covener wrote:
> On Sun, Apr 5, 2009 at 10:58 AM, Developer <dev002@xxxxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux