tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <yansheng....@silvacom.com>
Subject RE: Tomcat returning absolute http:// URL behind SSL Proxy instead of keeping https://
Date Thu, 08 Apr 2004 14:53:22 GMT
hi, for tomcat to accept https protocal, you need to define a SSL connector.
take a look in your server.xml to see if the SSL connector was commented out.
and the scheme attribute defaults to "https".  

Hope this helps:).

-Yan

-----Original Message-----
From: Fletcher Cocquyt [mailto:fcocquyt@stanford.edu] 
Sent: Wednesday, April 07, 2004 7:51 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat returning absolute http:// URL behind SSL Proxy instead of
keeping https://


Hi,
We have the classic 3 tiered webapp architecture with BigIP
loadbalancers acting as SSL Proxies - such that requests for the webapp:
 
https://server/jkmount/
 
1)       Come into the BigIP - the BigIP Proxies the HTTPS and sends the
same request to the Apache servers on port 80
2)       Apache sees the URI with a matching jkmount and sends the
request to the Tomcat worker
3)       PROBLEM: tomcat constructs the absolute URL to return based on
the assumption its port 80 and returns the insecure
http://server/jkmount/index.jsp
 
Found some relevant docs here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/proxy-howto.html
 
But its unclear how to get tomcat to keep the https:// instead of
returning the absolute http:// 
 
Apache 2.0.48
Tomcat 4.1.30
 
Thanks for any tips!
 
Fletcher Cocquyt
Senior Systems Administrator
fcocquyt@stanford.edu
 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message