httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <apa...@gej-it.com>
Subject RE: [users@httpd] NameVirtualHost
Date Thu, 19 Dec 2002 00:24:48 GMT
Hi Joseph,

When you do NameVirtualHost you can't put the same address twice, if you
want the VirtualHost to run on port 8000 with the IP address that you
specified then it should be as follows:

NameVirtualHost 64.7.9.58

<VirtualHost 64.7.9.58:8000>
....
</VirtualHost>

Or if you'd like it to run on all listening ports do:
For exp.

Listen 80
Listen 8000
Listen 8080

NameVirtualHost 64.7.9.58

<VirtualHost 64.7.9.58>
....
</VirtualHost>

then the virtualhost will load on ports 80 8000 and 8080.

All the Best,

Jeff Cohen

> -----Original Message-----
> From: Joseph Shraibman [mailto:jks@selectacast.net]
> Sent: Wednesday, December 18, 2002 7:17 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] NameVirtualHost
> 
> I'm running  Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6
> mod_jk/1.2.2
> 
> I have a NameVirtualHost in my http.conf, but when I start up I get a
lot
> of:
> 
>   [warn] VirtualHost a.d1.selectacast.net:8000 overlaps with
VirtualHost
> b.d1.selectacast.net:8000, the first has precedence, perhaps you need
a
> NameVirtualHost
> directive
> 
> Is this a known bug?
> I've tried:
> 
> NameVirtualHost *
> NameVirtualHost 64.7.9.58
> NameVirtualHost 64.7.9.58:8000
> 
> 
> ---------------------------------------------------------------------
> 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


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