[CentOS] mod_proxy and html rewriting

Nux nux at li.nux.ro
Fri Feb 26 18:50:07 UTC 2010


On Thu, 25 Feb 2010, 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.
>
> Rh's ftp shows httpd-2.2.8-1.el5s2.src.rpm for this rpm as latest.
>
> I'll give a go at compiling this to try mod_substitute.
>
> Thanks guys!
> jlc
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

No need to ditch stock Apache:
http://repo.lastdot.org/webstack/5/i386/mod_substitute-2.2.11-1.el5.ld.i386.rpm
http://repo.lastdot.org/webstack/5/x86_64/mod_substitute-2.2.11-1.el5.ld.x86_64.rpm


More information about the CentOS mailing list