Barney Hamish <Hamish.Barney@ect-te To: "'[EMAIL PROTECTED]'" lecoms.de> <[EMAIL PROTECTED]> cc: 09/08/2002 11.32 Subject: Login problem with reverse proxy Please respond to "Tomcat Users List"
Hi, I'm using tomcat 3.2 with form based login and an apache reverse proxy to filter requests to the webserver. When tomcat issues the redirect to the login page the users are sent directly to the webserver not the reverse proxy. As the webserver is not directly accessable they are unable to request the log-in page. Is anyone aware of a way I can configure tomcat and or the reverse proxy to make this set-up work? More info: -----Internet------ | Reverse Proxy | ----Private Net---- | Webserver (with Tomcat) When a request for a secure resource is sent to the reverse proxy, it forwards that request to the webserver. If the user is not logged-in tomcat tries to redirect the user to the login form. In that redirect Tomcat apparently includes the IP address of the server upon which it is currently residing. The reverse proxy forwards the webserver's response to the client. When the client tries to request the log-in page from the directly from the webserver it is unable to reach the webserver. Hamish -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>