tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Beaulieu" <>
Subject [Apache2.2.4/modjk/Tomcat6.0.13] redirect url problem
Date Tue, 24 Jul 2007 14:16:31 GMT

I am trying to migrate our current system of apache/jserv to apache tomcat
using modjk. I am trying to shoe horn our current configuration.

I have a webapp lets call it myApp. Now some of our static content, beyond
my control, requests urls like
I've added an entry in my httpd.conf:

Redirect /demo https://localhost

When I do this, I will get a 404 with the access_log saying:

questType=SomeRequest HTTP/1.1" 301 332
stType=SomeRequest HTTP/1.1" 404 1273

So, it looks like partly a url encoding problem. I searched around to find
out whats up, and tried this directive for mod_jk:

JkOptions     +ForwardURICompat

And now in the access_log I see this

questType=SomeRequest HTTP/1.1" 301 332
"GET myApp/servlets/aServlet
HTTP/1.1" 200 29

So we see that the request worked(even though the url is still encoded??),
but its not actually redirecting the request. The POST is getting turned
into a GET. Tomcat is responding with the proper response for a GET request
to "/myApp/servlets/aServlet". 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message