httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Pierce <ch...@onyxsys.net>
Subject Re: [users@httpd] I need a help on virtual host
Date Tue, 03 Dec 2002 21:25:35 GMT
try this before all of your virtualhost statements:

NameVirtualHost *


On Wed, Dec 04, 2002 at 08:06:27AM +1100, Hong.Sun@weirwarman.com wrote:
> hi,
> We have Apache 1.3.26 and Tomcat 4.0.6 running on Win2000 server.
> My question is about Apache virtual hosts setup,
> initially I have the virtual host work by following the online documentation
> with the below definitions in httpd.conf:
> 
> NameVirtualHost *
> <VirtualHost  *>
> ServerName mydomain.com
> :
> </VirtualHost>
> <VirtualHost  *>
> ServerName sub1.mydomain.com
> :
> </VirtualHost>
> 
> While due to my integration of Apache and Tomcat,
> I need to have a virtual host definition format like:
> <VirtualHost  mydomain.com>
> ServerName mydomain.com
> :
> </VirtualHost>
> <VirtualHost  sub1.mydomain.com>
> ServerName sub1.mydomain.com
> :
> </VirtualHost>
> I've already tried this for several days, but still no luck,
> please tell me the proper way to achieve my requirement.
> 
> Thanks for help.
> 
> 
> Hong


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