httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <>
Subject Re: [users@httpd] Reverse proxy breaks image links ?
Date Thu, 07 Apr 2011 14:06:15 GMT
For reverse proxy you need

ProxyRequests Off

On Apr 7, 2011 11:53 PM, "Ed Sutton" <> wrote:

How do you properly configure a reverse proxy to forward
http://myserver/jenkins to http://myserver:8080?  The configuration below
works, yet it breaks image links.  I tried adding mod_proxy_html without
success.  Here is what I have:

1 -  Apache stack running on port 80.

2 - Jenkins(Hudson) build server running in servlet on same machine on port

3 - httpd.conf
LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_ftp_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_scgi_module modules/
LoadModule proxy_ajp_module modules/
LoadModule proxy_balancer_module modules/
#Attempt to get reverse proxy working for jenkins 8080
# version LIBXML2_2.6.27 not defined in file libxml2
LoadFile /usr/lib/
LoadModule proxy_html_module modules/
LoadModule xml2enc_module modules/
# Pass jenkins http request to the Winstone server listening on port 8080
# This will redirect http://myserver/jenkins to http://myserver:8080
# This permits us to run multiple web servers on fesnaval at various ports
# that appear to all be running on the standard http port 80.
# Cool! Except image links break. Example:
ProxyPass                  /jenkins http://localhost:8080
ProxyPassReverse        /jenkins http://localhost:8080
ProxyHTMLEnable On
ProxyHTMLExtended On

Any tips or suggestions are much appreciated.  Thanks in advance,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
  "   from the digest:
For additional commands, e-mail:

View raw message