A few weeks ago, I asked a similar question which went unanswered.
Basically, I want to have the user request www.somewhere.com but have Apache
forward that to tomcatserver:8009/someNonRootContext/ so I can have
different versions, w/o exposing the context to the user.  Rewriting works,
except that cookies set in Tomcat are relative to /someNonRootContext and so
the browser does not send them back on the next request.

Tim

-----Original Message-----
From: Dieter Schicker [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 4:46 AM
To: Tomcat Users List
Subject: Re: newbie:access tomcat virtual host via apache


If you can't mount / because you also run php on apache, you can afaik 
only mount specific directories of tomcat in Apache, e.g.  
http://foo.bar.com:8080/jsp-examples => http://foo.bar.com/jsp-examples. 
In Google you can find many examples for this configuration.

Didi

matador wrote:
> runnning tomcat 5.x on windows with apache 2.0.5x with modjk.  tomcat 
> on
> 8080 and apache on 80.
>
> so for a given webapp at foo.bar.com that really is served up by 
> tomcat on
> 8080 as http://foo.bar.com:8080.  how to get apache to see it so that i
can 
> access it as http://foo.bar.com without the port number?
>
> << no i wont run tomcat on 80 since we also run php on that apahce 
> instance
> as well ;) >>
>
> thx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to