You can also rewrite *.jsp to /jsp/*.jsp
Then use ProxyPass and ProxyPassReverse to serv up any /jsp/ from a local
tomcat instance.
That avoids connectors entirely.
----- Original Message -----
From: "Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, June 03, 2002 8:25 AM
Subject: Re: Apache-Tomcat and VirtualHosts, second try
> > Nikola,
> > Thanks for the virtualHost file it has helped a great deal.
>
> Glad to have helped.
>
> > One more question.
> >
> > I've had this working on 3.x using ContextManager but is it still
possible
> > on tomcat 4.x
> >
> > eg.
> > http://www.blablah.com:8080/index.jsp which serves up a jsp page
> > however I need this to be done on apache (2.x)
> > http://www.blablah.com/index.jsp
> > Apache deals with the image files and tomcat deals with jsp/servlets.
I;ve
> > used a root context for each virtual host before but is it possible in
4.x
> > ??
>
> For separating Active from Static content, you'll need either mod_jk or
mod_jk2, since mod_webapp serves the entire webapp context. And you'll also
need Ant to deploy it, if you have separate document trees in Tomcat and
Apache (a good choice).
>
> Nix.
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|