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
    ProxyPassReverse /webstart https://tomcat.mydomain.com:19007/webstart
So if I hit 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 instead of 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 it tries to download the jars from 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
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to