tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 1world1love <jd_co...@yahoo.com>
Subject Re: apache/tomcat/modjk URL path question
Date Thu, 22 Oct 2009 20:53:31 GMT


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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message