[ http://jira.codehaus.org/browse/CONTINUUM-734?page=all ]
Brian Fox updated CONTINUUM-734:
--------------------------------
Attachment: mod_proxy_http.so
I was able to work around this using the http proxy reverse. This scans
outbound html and replaces urls. The standard mod_proxy only scans the headers
so it won't correct embedded links.
Attached prebuilt module for Windows/Apache 2.0.55. The source can be obtained
here:http://apache.webthing.com/mod_proxy_html/
I added this file to the 2.0.55 mod_proxy_http module and rebuilt so this can
replace the standard mod_proxy_http.so
In the config below, i redirect /continum to another machine mapped to /ts.
Then I have the htmlurl map set to look for the url that continuum will return
in its links and map it back to /ts.
RedirectMatch /continuum /ts/continuum/servlet/continuum
ProxyRequests off
ProxyPass /ts/ http://10.0.5.251:8080/
ProxyHTMLURLMap http://continum-machine:8080 /ts
ProxyHTMLURLMap http://10.0.5.251:8080 /ts
<Location /ts/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /ts/
ProxyHTMLURLMap /ts /ts
RequestHeader unset Accept-Encoding
</Location>
> Can't use continuum behind https proxy
> --------------------------------------
>
> Key: CONTINUUM-734
> URL: http://jira.codehaus.org/browse/CONTINUUM-734
> Project: Continuum
> Issue Type: Bug
> Components: Web interface
> Affects Versions: 1.0.3
> Reporter: Richard van der Hoff
> Fix For: 1.1
>
> Attachments: mod_proxy_http.so
>
>
> As noted in CONTINUUM-240, it's not currentlyy possible to run the continuum
> webapp behind an https proxy, as all the links are http://...
> My apache setup is something along the lines of:
> {code:xml}
> <VirtualHost xx.xx.xx.xx:443>
> SSLEngine on
> ProxyPass / http://localhost:8080/
> ProxyPassReverse / http://localhost:8080/
> ProxyPreserveHost On
> </VirtualHost>
> {code}
> and my jetty config:
> {code:xml}
> <listeners>
> <http-listener>
> <port>8080</port>
> </http-listener>
> </listeners>
> {code}
> The links are correct, except that they have s/https/http/.
> Why does the webapp need to use absolute links anyway?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira