If I do the 

JkMount  /application/* worker1

within my <VirtualHost> directive in httpd.conf it applies to that virtual
host only.
Alas I cannot use global JKMounts any more, but that is propably not what
you need anyways.
(tested with apache 2.0.55 and tomcat 5.0.28 on WinXP)

Hth,
Tobias

> -----Original Message-----
> From: Dieter Schicker [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 05, 2006 5:44 PM
> To: Tomcat Users List
> Subject: Re: newbie:access tomcat virtual host via apache
> 
> 
> I also asked a similar question which also went unanswered. 
> Maybe it's 
> simply not possible to do that ....
> 
> Didi
> 
> Tim Lucia wrote:
> > 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]
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> 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