You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ratner, Ian" <Ia...@FMR.COM> on 2002/09/12 19:14:06 UTC

Possible proxyProtocol attribute?

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