Samuel, With Apache, we include the following in the .conf file. I am not familiar with IIS, but assume there is something similar.
# # The following line mounts all JSP files and the /servlet/ uri to tomcat # JkMount /MyFirstWebApp/servlet/* ajp12 JkMount /MyFirstWebApp/*.jsp ajp12 JkMount /MyFirstWebApp/j_security_check ajp12 The first two lines are generated by Tomcat. I manually added the third line. Hope it helps in the IIS world. Dan -----Original Message----- From: Samuel Rochas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 10:31 AM To: Tomcat Users List Subject: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3 Hello, I have troubles using the form authentication for an application running on the IIS (4.0) with tomcat 3.2.3. The security example is running fine, that is because it is running directly with tomcat and not through IIS first. The authentication mechanism for my application running with the IIS brings an error 405 with the URL: http://localhost/j_security_check It seems the IIS does not recognize that it should pass the request to the isapi_redirect.dll an tries to handle it itself, which brings the error. A workaround would be to set as URL for the login page something like: <form-login-page>http://localhost:8080/login.jsp</form-login-page> This would enforce the direct use of tomcat. I think it is quite tricky an would prefer something cleaner here. Any hint? Sincerly Samuel Rochas -- SWIPe Software Engineering & Project Management GmbH Solutions with Individual Profile Web: http://www.swipe.de -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
