On 22.10.2009 22:53, 1world1love wrote:
> 
> 
> 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......

So I would do some network sniffing to check, which address and port the
ldap auth tries to reach. Once you know that, you might find the reason.

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

Hmmmm....

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

Reply via email to