[CentOS] mod_proxy and html rewriting

Thu Feb 25 17:13:05 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

On 2/25/2010 10:26 AM, Joseph L. Casale wrote:
>> mod_substitute is included in later Apache's and does a great job.  I
>> actually like it better than mod_proxy_html, since the latter has a
>> tendency to rewrite a _lot_ of stuff to make it "valid" HTML/XHTML.
>>
>> Not that that's necessarily a terrible thing, but sometimes I just want
>> to change what I told it to change...
>>
>> I used the SRPM from RHWAS to update to the latest Apache on EL5.
>
> Great, the issue I am getting is the browser doesn't understand the
> rewritten content as a result of xhtml issues.

I ended up using the ProxyHTMLExtended mode to catch the stuff in 
javascript, etc.

-- 
   Les Mikesell
    lesmikesell at gmail.com