httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Shraibman <...@selectacast.net>
Subject Re: [users@httpd] NameVirtualHost
Date Mon, 23 Dec 2002 23:36:49 GMT
That gives me:
[Mon Dec 23 18:34:28 2002] [warn] NameVirtualHost intellimail.d1.selectacast.net:8000 has

no VirtualHosts
[Mon Dec 23 18:34:28 2002] [warn] NameVirtualHost bernardo.d1.selectacast.net:8000 has no

VirtualHosts

[Mon Dec 23 18:34:29 2002] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6 
mod_jk/1.2.2 configured -- resuming normal operations


This is with:
Listen 64.7.9.58:8000
Listen 64.7.9.58:443
Listen 64.7.9.59:8000
Listen 64.7.9.59:443


<VirtualHost 64.7.9.59:443>
...
<VirtualHost 64.7.9.59:8000>
...
NameVirtualHost admin.d1.selectacast.net:443
<VirtualHost admin.d1.selectacast.net:443>
...
NameVirtualHost admin.d1.selectacast.net:8000
<VirtualHost admin.d1.selectacast.net:8000>
...
NameVirtualHost intellimail.d1.selectacast.net:8000
<VirtualHost intellimail.d1.selectacast.net:8000>
...
NameVirtualHost bernardo.d1.selectacast.net:8000
<VirtualHost bernardo.d1.selectacast.net:8000>
...

Jeff Cohen wrote:
> 
>>-----Original Message-----
>>From: Joseph Shraibman [mailto:jks@selectacast.net]
>>Sent: Wednesday, December 18, 2002 10:58 PM
>>To: users@httpd.apache.org
>>Subject: Re: [users@httpd] NameVirtualHost
>>
>>Jeff Cohen wrote:
>>
>>>Hey Joseph,
>>>
>>>Look again in your conf file, the error says that you have two
>>>VirtualHosts with the same name and port.
>>>Search it for the virtualhost name.
>>
>>The error messages I'm getting are:
>>[Wed Dec 18 18:56:52 2002] [warn] VirtualHost
>>intellimail.d1.selectacast.net:8000 overlaps
>>with VirtualHost
>>bernardo.d1.selectacast.net:8000, the first has precedence, perhaps
> 
> you
> 
>>need a
>>NameVirtualHost directive
>>[Wed Dec 18 18:56:52 2002] [warn] VirtualHost
>>admin.d1.selectacast.net:8000 overlaps with
>>VirtualHost intellimail.d1.selectacast.net:8000, the first has
> 
> precedence,
> 
>>perhaps you
>>need a NameVirtualHost directive
>>[Wed Dec 18 18:56:52 2002] [warn] VirtualHost 64.7.9.59:0 overlaps
> 
> with
> 
>>VirtualHost
>>admin.d1.selectacast.net:443, the first has precedence, perhaps you
> 
> need a
> 
>>NameVirtualHost
>>directive
>>[Wed Dec 18 18:56:52 2002] [warn] VirtualHost 64.7.9.59:443 overlaps
> 
> with
> 
>>VirtualHost
>>64.7.9.59:0, the first has precedence, perhaps you need a
> 
> NameVirtualHost
> 
>>directive
>>[Wed Dec 18 18:56:52 2002] [warn] VirtualHost
>>tomcat.d1.selectacast.net:8000 overlaps with
>>VirtualHost admin.d1.selectacast.net:8000, the first has precedence,
>>perhaps you need a
>>NameVirtualHost directive
>>[Wed Dec 18 18:56:52 2002] [warn] NameVirtualHost *:0 has no
> 
> VirtualHosts
> 
>>[Wed Dec 18 18:56:54 2002] [notice] Apache/2.0.43 (Unix)
> 
> mod_ssl/2.0.43
> 
>>OpenSSL/0.9.6
>>mod_jk/1.2.2 configured -- resuming normal operations
>>
>>You can tell something is out of what because of that second to last
> 
> one.
> 
>>These were generated when I had "NameVirtualHost *" in the conf file.
>>
>>
> 
> 
> For this you might need to take off the port number and add it only at
> the <virtualhost> section as as follow:
> Try that and tell me if it works for you. (I'm doing also something very
> similar to that, but I have 5 domain names, each domain runs on
> different port and also they all name-based on port 80).
> I'm using 1.3.27 with 4 NameVirtualHost and it's running and as far as I
> know (I haven't tried using the 2.x version, there's no much different
> in the virtualhost).
> 
> 
> Listen domain1:8000
> Listen domain2:8000
> Listen domain3:443
> Listen ip_addrs:443
> 
> 1> bernardo.d1.selectacast.net:8000
> NameVirtualHost bernardo.d1.selectacast.net
> <VirtualHost bernardo.d1.selectacast.net:8000>
> 
> 2> intellimail.d1.selectacast.net:8000
> NameVirtualHost intellimail.d1.selectacast.net
> <VirtualHost intellimail.d1.selectacast.net:8000>
> 
> 3> admin.d1.selectacast.net:443
> NameVirtualHost admin.d1.selectacast.net
> <VirtualHost admin.d1.selectacast.net:443>
> 
> 4> 64.7.9.59:443
> NameVirtualHost 64.7.9.59
> <VirtualHost 64.7.9.59:443>
> 
> 5> *:0 - should be deleted.
> 
> 


---------------------------------------------------------------------
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