You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nikola Milutinovic <Ni...@ev.co.yu> on 2002/06/03 11:45:05 UTC

Apache-Tomcat and VirtualHosts, second try

I'm posting a zip this time.

Nix.

Re: Apache-Tomcat and VirtualHosts, second try

Posted by Gus Heck <sp...@telocity.com>.
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" <Ni...@ev.co.yu>
To: "Tomcat Users List" <to...@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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Apache-Tomcat and VirtualHosts, second try

Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
> 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.

Re: Apache-Tomcat and VirtualHosts, second try

Posted by Ron <ro...@rapit.net>.
Nikola,
Thanks for the virtualHost file it has helped a great deal.

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

----- Original Message -----
From: "Nikola Milutinovic" <Ni...@ev.co.yu>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, June 03, 2002 10:45 AM
Subject: Apache-Tomcat and VirtualHosts, second try


> I'm posting a zip this time.
>
> Nix.
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>