You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Austin Gonyou <au...@coremetrics.com> on 2002/07/24 23:19:01 UTC

mod_jk target problem.

In our mod_jk.conf we've only got a couple of paths used for JkMount,
but mod_jk still seems to be handing off everything from / to tomcat. 

We're using Tomcat 3.2.3 and mod_jk 3.2.3. We'll be upgrading, but
that's not for a little bit yet, unless this can be fixed by upgrading. 

We use Apache 1.3.24 on Linux. 

Any help on this problem is appreciated. TIA.

-- 
Austin Gonyou <au...@coremetrics.com>
Coremetrics, Inc.

Re: mod_jk target problem.

Posted by Austin Gonyou <au...@coremetrics.com>.
Just FYI. Thanks to all who responded...this is a bunch to try. 

On Wed, 2002-07-24 at 17:25, Chris McCabe wrote:
> Try adding the attribute forwardAll="false" to your Host element in 
> server.xml.
> 
> <Host name="localhost" debug="0" appBase="webapps"
>         forwardAll="false" unpackWARs="true">
> 
> Chris
> 
> Austin Gonyou wrote:
> 
> >In our mod_jk.conf we've only got a couple of paths used for JkMount,
> >but mod_jk still seems to be handing off everything from / to tomcat. 
> >
> >We're using Tomcat 3.2.3 and mod_jk 3.2.3. We'll be upgrading, but
> >that's not for a little bit yet, unless this can be fixed by upgrading. 
> >
> >We use Apache 1.3.24 on Linux. 
> >
> >Any help on this problem is appreciated. TIA.
> >
> >  
> >
> 
> 
> -- 
> Chris P. McCabe  - Senior Software Systems Architect
> Choice Hotels International - Information Technology
> chris_mccabe@choicehotels.com    602-953-4416
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
Austin Gonyou <au...@coremetrics.com>
Coremetrics, Inc.

Re: mod_jk target problem.

Posted by Chris McCabe <Ch...@choicehotels.com>.
Try adding the attribute forwardAll="false" to your Host element in 
server.xml.

<Host name="localhost" debug="0" appBase="webapps"
        forwardAll="false" unpackWARs="true">

Chris

Austin Gonyou wrote:

>In our mod_jk.conf we've only got a couple of paths used for JkMount,
>but mod_jk still seems to be handing off everything from / to tomcat. 
>
>We're using Tomcat 3.2.3 and mod_jk 3.2.3. We'll be upgrading, but
>that's not for a little bit yet, unless this can be fixed by upgrading. 
>
>We use Apache 1.3.24 on Linux. 
>
>Any help on this problem is appreciated. TIA.
>
>  
>


-- 
Chris P. McCabe  - Senior Software Systems Architect
Choice Hotels International - Information Technology
chris_mccabe@choicehotels.com    602-953-4416




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


RE: mod_jk target problem.

Posted by "Charles N. Harvey III" <ch...@alloy.com>.
If you are mapping:

JkMount /myapp/* ajp13

Then it will forward all requests for http://mysite.com/myapp/...
to Tomcat.

To avoid this map:

JkMount /myapp/*.jsp ajp13

Or:
JkMount /*.jsp ajp13

This way only requests for jsp files will be forwarded to Tomcat
and everything not specified will be picked up by Apache.

Charlie

> -----Original Message-----
> From: Austin Gonyou [mailto:austin@coremetrics.com]
> Sent: Wednesday, July 24, 2002 5:19 PM
> To: Tomcat Users List
> Subject: mod_jk target problem.
> 
> 
> In our mod_jk.conf we've only got a couple of paths used for JkMount,
> but mod_jk still seems to be handing off everything from / to tomcat. 
> 
> We're using Tomcat 3.2.3 and mod_jk 3.2.3. We'll be upgrading, but
> that's not for a little bit yet, unless this can be fixed by upgrading. 
> 
> We use Apache 1.3.24 on Linux. 
> 
> Any help on this problem is appreciated. TIA.
> 
> -- 
> Austin Gonyou <au...@coremetrics.com>
> Coremetrics, Inc.
> 

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