You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Kimpton <ki...@techie.com> on 2000/11/02 15:03:05 UTC
Re: Virtual Hosting... with 3.2beta6 [PATCH to DOCS]
Hi,
Thanks to Duane Gran <ra...@spinweb.net> for putting me right on this.
>
>In the tomcat-apache howto, it describes a means of having virtual hosts with 1 JVM using this version tomcat.
>
>...but the example server.xml it gives is actually the excerpt from the apache config repeated.
>
So here is a proposed patch for that section of the document.
I am assuming that the html directory is the root of an expanded WAR file.
Regards,
Chris
This replaces the example "Option 2 - Same Tomcat for all Virtual Hosts (server.xml) "
[ snip! ]
<!-- in the context manager section -->
<Host name="host1" >
<Context path=""
docBase=""/web/host1/html" />
</Host>
<Host name="host2" >
<Context path=""
docBase=""/web/host2/html" />
</Host>
[ snip! ]
---
"surely it is madness to accept life as it is and not as it could be"
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup