Thank you. That solved my problem.

Regards,
Rathna




On Tue, Jun 1, 2010 at 10:40 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: Rathna [mailto:gente...@gmail.com]
> > Subject: apache2 tomcat6.0.26 mod_jk
> >
> > Let's say I own two websites.
> > 1) batman.com
> > 2) superman.com
> >
> > I have two web applications hosted in tomcat6 under webapps.
> > 1) /usr/local/tomcat6/webapps/batman
> > 2) /usr/local/tomcat6/webapps/superman
>
> Don't know about doing this in httpd (do you really need it?), but for
> Tomcat, try the following:
>
> 1) Create two <Host> entries in Tomcat's server.xml, one for
> www.batman.com, one for www.superman.com.
>
> 2) Configure a separate appBase directory for each <Host>.
>
> 3) Move the batman webapp to the batman <Host> appBase directory as ROOT
> (case sensitive).
>
> 4) Likewise, move the superman webapp to the superman <Host> appBase
> directory as ROOT.
>
> You're done.
>
> Details are here:
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to