[ http://jira.codehaus.org/browse/CONTINUUM-240?page=comments#action_72667 
] 
            
Jens Reimann commented on CONTINUUM-240:
----------------------------------------

It looks like as if the following apache configuration can work around this bug:

<Location />
                ProxyPass  http://localhost:8090/continuum/
                ProxyPassReverse http://localhost:8090/continuum/
                SetOutputFilter  proxy-html
                ProxyHTMLURLMap http://localhost:80/continuum/ /
                ProxyHTMLURLMap http://localhost/continuum/ /
</Location>

Using the following as webapp configuration:

<proxy-http-listener>
                <port>8090</port>
                <proxy-host>localhost</proxy-host>
                <proxy-port>80</proxy-port>
</proxy-http-listener>

Interstingly both mappings must be configured since some generated URLs include 
the port while others do not. This is really ugly!!


> Absolute links bypass mod_proxy 
> --------------------------------
>
>                 Key: CONTINUUM-240
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-240
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web interface
>    Affects Versions: 1.0-alpha-3
>            Reporter: Björn Sköld
>         Assigned To: Trygve Laugstol
>            Priority: Minor
>             Fix For: 1.0-alpha-4
>
>
> Continuum does not work with the mod_proxy config shown in site docs:
> ProxyPass /continuum http://localhost:8080/continuum/
> ProxyPassReverse /continuum http://localhost:8080/continuum/
> All links in the continuum webapp are absolute, and ProxyPassReverse only 
> does rewrite of headers, not page content.
> This means that clicking on one of continuums links bypasses the proxy and 
> goes directly to localhost:8080/continuum/.
> There is a 3rd-party module (mod_proxy_html) that does rewrite of page 
> content, but it seems like a waste of CPU cycles.
> Making continuum generate relative links would probably be more efficient.
> http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxypassreverse

-- 
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


Reply via email to