Re: Unexpected redirect from https to http
If the internal redirects and forwards did change the scheme to http, then they wouldn't work because there is no http listener. Is this what you want? I have no idea, except that perhaps Tomcat changes the scheme to https automatically whenever it can. --- On Mon, 1/26/09, Timothy Tagge tplimi...@gmail.com wrote: From: Timothy Tagge tplimi...@gmail.com Subject: Unexpected redirect from https to http To: users@tomcat.apache.org Date: Monday, January 26, 2009, 3:01 PM I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is http://secureServer/correctDomain/correctPage.jsp This request times out because there is no http listener at secureServer. However, requests directly to a jsp file in that application via https do not get changed to http and work just fine. So the issue only happens during internal redirects. Could this be cert related? Apache or Tomcat config issue? Our setup is as follows... JDK 1.6.06 Tomcat 5.5.15 AJP1.3 Big IP is providing https with a certificate supplied by Verisign Host file on the tomcat server that points all calls to secureServer to the IP Address for Big IP. Big IP is configured to point back to tomcat on port 80 ### AJP Configuration # !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / ### workers.properties configuration # worker.worker_aat.type=ajp13 worker.worker_aat.host=localhost worker.worker_aat.port=8009 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Unexpected redirect from https to http
The fact that the scheme is changed (by a now unknown process) to http is the issue. It is desired that all the requests/responses remain in https. On Tue, Jan 27, 2009 at 11:12 AM, removeps-gro...@yahoo.com wrote: If the internal redirects and forwards did change the scheme to http, then they wouldn't work because there is no http listener. Is this what you want? I have no idea, except that perhaps Tomcat changes the scheme to https automatically whenever it can. --- On Mon, 1/26/09, Timothy Tagge tplimi...@gmail.com wrote: From: Timothy Tagge tplimi...@gmail.com Subject: Unexpected redirect from https to http To: users@tomcat.apache.org Date: Monday, January 26, 2009, 3:01 PM I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is http://secureServer/correctDomain/correctPage.jsp This request times out because there is no http listener at secureServer. However, requests directly to a jsp file in that application via https do not get changed to http and work just fine. So the issue only happens during internal redirects. Could this be cert related? Apache or Tomcat config issue? Our setup is as follows... JDK 1.6.06 Tomcat 5.5.15 AJP1.3 Big IP is providing https with a certificate supplied by Verisign Host file on the tomcat server that points all calls to secureServer to the IP Address for Big IP. Big IP is configured to point back to tomcat on port 80 ### AJP Configuration # !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / ### workers.properties configuration # worker.worker_aat.type=ajp13 worker.worker_aat.host=localhost worker.worker_aat.port=8009 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Unexpected redirect from https to http
2009/1/27 Timothy Tagge tplimi...@gmail.com: I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is http://secureServer/correctDomain/correctPage.jsp This request times out because there is no http listener at secureServer. However, requests directly to a jsp file in that application via https do not get changed to http and work just fine. So the issue only happens during internal redirects. Could this be cert related? Apache or Tomcat config issue? Our setup is as follows... JDK 1.6.06 Tomcat 5.5.15 AJP1.3 Big IP is providing https with a certificate supplied by Verisign Host file on the tomcat server that points all calls to secureServer to the IP Address for Big IP. Big IP is configured to point back to tomcat on port 80 ### AJP Configuration # !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / ### workers.properties configuration # worker.worker_aat.type=ajp13 worker.worker_aat.host=localhost worker.worker_aat.port=8009 The doc http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html says that you can set scheme=https in your Connector . Also see the proxyName, proxyPort, and secure attributes. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Unexpected redirect from https to http
Eureka! The addition of scheme=https got me halfway there, with https being correctly requested instead of http. However it then was adding port 80 to the end of the domain. But the addition of proxyPort=443 solved that issue as well. Thanks all. On Tue, Jan 27, 2009 at 12:07 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2009/1/27 Timothy Tagge tplimi...@gmail.com: I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is http://secureServer/correctDomain/correctPage.jsp This request times out because there is no http listener at secureServer. However, requests directly to a jsp file in that application via https do not get changed to http and work just fine. So the issue only happens during internal redirects. Could this be cert related? Apache or Tomcat config issue? Our setup is as follows... JDK 1.6.06 Tomcat 5.5.15 AJP1.3 Big IP is providing https with a certificate supplied by Verisign Host file on the tomcat server that points all calls to secureServer to the IP Address for Big IP. Big IP is configured to point back to tomcat on port 80 ### AJP Configuration # !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / ### workers.properties configuration # worker.worker_aat.type=ajp13 worker.worker_aat.host=localhost worker.worker_aat.port=8009 The doc http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html says that you can set scheme=https in your Connector . Also see the proxyName, proxyPort, and secure attributes. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Unexpected redirect from https to http
I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is http://secureServer/correctDomain/correctPage.jsp This request times out because there is no http listener at secureServer. However, requests directly to a jsp file in that application via https do not get changed to http and work just fine. So the issue only happens during internal redirects. Could this be cert related? Apache or Tomcat config issue? Our setup is as follows... JDK 1.6.06 Tomcat 5.5.15 AJP1.3 Big IP is providing https with a certificate supplied by Verisign Host file on the tomcat server that points all calls to secureServer to the IP Address for Big IP. Big IP is configured to point back to tomcat on port 80 ### AJP Configuration # !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / ### workers.properties configuration # worker.worker_aat.type=ajp13 worker.worker_aat.host=localhost worker.worker_aat.port=8009 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org