tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ratner, Ian" <Ian.Rat...@FMR.COM>
Subject Possible proxyProtocol attribute?
Date Thu, 12 Sep 2002 17:14:06 GMT
I've set up Apache to proxy HTTP requests to an SSL-enabled Tomcat which
serves up Java Web Start applications:
 
Apache httpd.conf:
 
    ProxyPass            /webstart
https://tomcat.mydomain.com:19007/webstart
<https://tomcat.mydomain.com:19007/webstart> 
    ProxyPassReverse /webstart https://tomcat.mydomain.com:19007/webstart
<https://tomcat.mydomain.com:19007/webstart> 

So if I hit http://apache.mydomain.com/webstart/myapp.jnlp
<http://apache.mydomain.com/webstart/myapp.jnlp>  with my browser, Web Start
will launch and try to download the application jars from
https://tomcat.mydomain.com:19007/webstart
<https://tomcat.mydomain.com:19007/webstart>  instead of
http://apache.mydomain.com/webstart/ <http://apache.mydomain.com/webstart/>
.
 
I modified the Tomcat server.xml file to use proxyHost (apache.mydomain.com)
and proxyPort(80) and now when I go to
http://apache.mydomain.com/webstart/myapp.jnlp
<http://apache.mydomain.com/webstart/myapp.jnlp>  it tries to download the
jars from https://apache.mydomain.com:80/webstart/
<https://apache.mydomain.com:80/webstart/>  which is close to what I want.
The problem is, I want the protocol to be http, not https.
 
Is is possible/does it make sense to have something like "proxyProtocol"?
 
Is there another way to get the desired result?  I've temporarily changes my
ProxyPass directives to use http for the webstart URLs, but I really want
SSL between apache.mydomain.com and tomcat.mydomain.com.
 
Thanks,
Ian

Mime
View raw message