Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 1238 invoked from network); 21 Jan 2009 01:33:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 01:33:02 -0000 Received: (qmail 22574 invoked by uid 500); 21 Jan 2009 01:32:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22556 invoked by uid 500); 21 Jan 2009 01:32:50 -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 22547 invoked by uid 99); 21 Jan 2009 01:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 17:32:50 -0800 X-ASF-Spam-Status: No, hits=4.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [134.244.32.85] (HELO ugs.com) (134.244.32.85) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 01:32:39 +0000 Received: from usslmhub001.net.plm.eds.com (161.134.138.16) by USSLMHUB002.net.plm.eds.com (134.244.32.85) with Microsoft SMTP Server (TLS) id 8.1.336.0; Tue, 20 Jan 2009 19:32:18 -0600 Received: from USSLMMBX001.net.plm.eds.com ([161.134.138.19]) by usslmhub001.net.plm.eds.com ([161.134.138.16]) with mapi; Tue, 20 Jan 2009 19:32:17 -0600 From: "Gill, Christopher" To: "users@httpd.apache.org" Date: Tue, 20 Jan 2009 19:32:15 -0600 Thread-Topic: Rewriting Custom HTML Tags URLs for proxy with mod_proxy_html Thread-Index: Acl7aBdWc7tm/tzzSxOCcEpvyqbc0Q== Message-ID: <5BF440E24E51824F969A998CFD3AF8D2039235D94D@USSLMMBX001.net.plm.eds.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_5BF440E24E51824F969A998CFD3AF8D2039235D94DUSSLMMBX001ne_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Rewriting Custom HTML Tags URLs for proxy with mod_proxy_html --_000_5BF440E24E51824F969A998CFD3AF8D2039235D94DUSSLMMBX001ne_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Experts, TIA for any help you can lend. I have the following html being output from a program of which I have no co= ntrol of the source (only that I need to proxy it). Of primary concern is getting http://TCE1.4555 to be returned as http://my.= domain.com instead. In the VirtualHost configuration for the proxy I have: ServerName my.domain.com ProxyRequests off ProxyPreserveHost on ProxyRemote http://my.domain.com http://tce1:8090/tc/ ProxyPass /tc/ http://tce1:8090/tc/ ProxyPassReverse http://tce1:8090/ http://my.domain.com/ ProxyPassReverse http://tce1:8090/tc/ http://my.domain.com/ ProxyHTMLExtended on ProxyHTMLLogVerbose on LogLevel Debug ProxyHTMLLinks param value ProxyHTMLURLMap http://tce1:4555 http://my.domain.com RewriteEngine on ...bunch of rewrite code to handle incoming requests for http://tce1:4555..= . Any advice on why this rewrite is not occurring, I thought adding the Proxy= HTMLLinks option for "param value" in conjunction with ProxyHTMLURLMap woul= d do it, but it doesn't seem to be. Thanks again for any help. --_000_5BF440E24E51824F969A998CFD3AF8D2039235D94DUSSLMMBX001ne_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Experts, TIA for any help you can lend.

 

I have the following html being output from a program = of which I have no control of the source (only that I need to proxy it).<= /o:p>

 

<link rel=3D"stylesheet" type=3D"text/css" href=3D"css/print.css" media=3D"print" />=

<applet code=3D"UploadApplet.class" codebase=3D"fms/" name=3D"uploadApplet" width=3D"1" height=3D"1"= ;>

        <param name=3D"bootstrapURLString" value=3D"http://TCE1:4555,"= >

        <param name=3D"cache_option" value=3D"Plugin">

        <param name=3D"cache_archive" value=3D"UploadApplet.jar,fscproxy.jar">

</applet>

<script type=3D"text/javascript" src=3D"common/basic.js"></script>

 

Of primary concern is getting http://TCE1.4555 to be returned as http://my.domain.com instead.

 

In the VirtualHost configuration for the proxy I have:=

<VirtualHost *:80>

ServerName my.domain.com

 

ProxyRequests off

ProxyPreserveHost on

ProxyRemote http://my.domain.com http://tce1:8090/tc/<= o:p>

ProxyPass /tc/ http://tce1:8090/tc/

ProxyPassReverse http://tce1:8090/ http://my.domain.co= m/

ProxyPassReverse http://tce1:8090/tc/ http://my.domain= .com/

 

ProxyHTMLExtended on

ProxyHTMLLogVerbose on

LogLevel Debug

ProxyHTMLLinks      &nbs= p;        param    &= nbsp;           &nbs= p;  value

ProxyHTMLURLMap http://tce1:4555 http://my.domain.com<= o:p>

 

RewriteEngine on

…bunch of rewrite code to handle incoming reques= ts for http://tce1:4555…

 

</VirtualHost>

 

Any advice on why this rewrite is not occurring, I tho= ught adding the ProxyHTMLLinks option for “param value” in conjuncti= on with ProxyHTMLURLMap would do it, but it doesn’t seem to be.

 

Thanks again for any help.

--_000_5BF440E24E51824F969A998CFD3AF8D2039235D94DUSSLMMBX001ne_--