httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Sutton <>
Subject [users@httpd] Reverse proxy breaks image links ?
Date Thu, 07 Apr 2011 13:52:27 GMT
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 8080.

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: src="/static/a4e79bc9/images/24x24/clock.png"
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