You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan Adams <da...@ifactory.com> on 2005/11/15 20:35:11 UTC

mod_jk and url encoding

Okay, i'm using tomcat 5.5 and mod_jk with apache 2. It looks like I've
got jk set up okay for the most part. I'm able to use the site as I did
before switching to mod_jk except for one thing. When I try to access
the following url I got a 404 from apache and tomcat never gets a chance
to touch the url (I have a request dump valve in there dumping all
requests):

/sdirect/_sp=Shome&sp=Sadmin%2FHome/admin/Home,
$AdminBorder.$Nav.link.html

now the problem is the %2F. If I replace that with a / like this it
works fine:

/sdirect/_sp=Shome&sp=Sadmin/Home/admin/Home,$AdminBorder.$Nav.link.html

I even tried adding JkOptions +ForwardUIREscaped to my httpd.conf with
no luck. Any ideas on why this is not making it to tomcat when %2F is
used?? I am really befuddled with this one.

-- 
Dan Adams
Software Engineer
Interactive Factory


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: mod_jk and url encoding

Posted by Dan Adams <da...@ifactory.com>.
got it. needed AllowEncodedSlashes On.

On Tue, 2005-11-15 at 14:35 -0500, Dan Adams wrote:
> Okay, i'm using tomcat 5.5 and mod_jk with apache 2. It looks like I've
> got jk set up okay for the most part. I'm able to use the site as I did
> before switching to mod_jk except for one thing. When I try to access
> the following url I got a 404 from apache and tomcat never gets a chance
> to touch the url (I have a request dump valve in there dumping all
> requests):
> 
> /sdirect/_sp=Shome&sp=Sadmin%2FHome/admin/Home,
> $AdminBorder.$Nav.link.html
> 
> now the problem is the %2F. If I replace that with a / like this it
> works fine:
> 
> /sdirect/_sp=Shome&sp=Sadmin/Home/admin/Home,$AdminBorder.$Nav.link.html
> 
> I even tried adding JkOptions +ForwardUIREscaped to my httpd.conf with
> no luck. Any ideas on why this is not making it to tomcat when %2F is
> used?? I am really befuddled with this one.
> 
-- 
Dan Adams
Software Engineer
Interactive Factory


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org