Apache Proxy

Jessie Morris jessie at confettiantiques.com
Thu Oct 1 13:53:40 MDT 2009


What I'm trying to do is replace everything within a page that goes 
through a forward proxy (i.e. user -> proxy -> internet). I've tried 
mod_sed, but can't seem to get it working.

Any help would be apprciated. My config that applies is:


#listen on a non-default port
NameVirtualHost *:180
Listen 180

<VirtualHost *:180>
        ServerAdmin webmaster at localhost
        #Filter using Sed
        AddOutputFilter Sed html
        ProxyRequests On
        ProxyVia On

        <Proxy *>
                Order deny,allow
                Allow from all
                #Run Sed command
                OutputSed "s/Art/JESSIE/g"
        </Proxy>

</VirtualHost>



More information about the PLUG mailing list