Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 7010 invoked from network); 7 Apr 2011 13:53:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 13:53:02 -0000 Received: (qmail 26526 invoked by uid 500); 7 Apr 2011 13:52:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 26488 invoked by uid 500); 7 Apr 2011 13:52:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 26480 invoked by uid 99); 7 Apr 2011 13:52:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 13:52:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [205.162.236.154] (HELO email.fescorp.com) (205.162.236.154) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 13:52:50 +0000 Received: from email.fescorp.com ([10.0.0.182]) by email.fescorp.com ([10.0.0.182]) with mapi; Thu, 7 Apr 2011 08:49:06 -0500 From: Ed Sutton To: "users@httpd.apache.org" Date: Thu, 7 Apr 2011 08:52:27 -0500 Thread-Topic: Reverse proxy breaks image links ? Thread-Index: Acv1Ko89j+yEGXs4S5C2DPsWRT6dxQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Reverse proxy breaks image links ? How do you properly configure a reverse proxy to forward http://myserver/je= nkins to http://myserver:8080? The configuration below works, yet it break= s image links. I tried adding mod_proxy_html without success. Here is wha= t I have: 1 - Apache stack running on port 80. http://myserver 2 - Jenkins(Hudson) build server running in servlet on same machine on port= 8080. http://myserver:8080 3 - httpd.conf ----------------- ... LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_scgi_module modules/mod_proxy_scgi.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so ... #Attempt to get reverse proxy working for jenkins 8080 # version LIBXML2_2.6.27 not defined in file libxml2 #http://blog.sam-pointer.com/2009/11/17/building-and-installing-mod_proxy_h= tml-and-mod_xml2enc LoadFile /usr/lib/libxml2.so LoadModule proxy_html_module modules/mod_proxy_html.so LoadModule xml2enc_module modules/mod_xml2enc.so ... # 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= =20 # that appear to all be running on the standard http port 80.=20 # Cool! Except image links break. Example: src=3D"/static/a4e79bc9/images/2= 4x24/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, -Ed= --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org