Rainer Jung-3 wrote:
> 
> Sorry I didn't read all of it very carefully, but is it possible you
> left out the "PT" flag (pass-through)? Without it, Apache doesn't run a
> request which was changed by mod_rewrite through mod_jk. 

I just added it in right before your post, and it did actually do the
redirect correctly. So the request:

http://mysite.com/path/MyApp/MyApp.html loads
http://mysite.com/MyApp/MyApp.html.

Now, however, my authentication doesn't work. I have this app setup for form
based auth. My form page loads fine, but when I submit, I get this
immediately:

The connection was reset....

In my mod_jk log, I can see that tomcat was trying to return a 408 status
page. In my app logs, I can see that the auth connection (ldap) is getting
reset and I get this in the log:

WARNING: Exception performing authentication
javax.naming.CommunicationException [Root exception is
java.net.SocketException: Connection reset]; remaining name......


Interestingly, if I access the page via IP:8080 (bypassing the rewrite), the
auth works fine. No errors.


-- 
View this message in context: 
http://www.nabble.com/apache-tomcat-modjk-URL-path-question-tp25976682p26017011.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to