You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ho...@weirwarman.com on 2002/12/02 22:38:31 UTC

[users@httpd] I need a help on virtual host

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 information contained in this message is confidential and is intended
for the addressee(s) only.  If you have received this message in error or
there are any problems please notify the originator immediately.  The
unauthorized use, disclosure, copying or alteration of this message is
strictly forbidden. Warman International Ltd will not be liable for direct,
special, indirect or consequential damages arising from alteration of the
contents of this message by a third party or as a result of any virus being
passed on.

Internet communications are not secure and therefore Warman International
Ltd. does not accept legal responsibility for the contents of this message.
Any views or opinions presented are solely those of the author and do not
necessarily represent those of Warman International Ltd.



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