I'm trying to use filters to replace html body of a page through a reverse
proxy.

This are my Apache settings :

>
> <VirtualHost *:80>
> ServerName myProxy.net
> ErrorLog ${APACHE_LOG_DIR}/error.log
> CustomLog ${APACHE_LOG_DIR}/access.log combined

ProxyRequests Off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> ExtFilterDefine fixtext mode=output intype=text/html \
> cmd="/bin/sed s/aword/replacement/g"

<Location />
> ProxyPass http://mySite.net/ <http://mysite.net/>
> ProxyPassReverse http://mySite.net/ <http://mysite.net/>
> SetOutputFilter fixtext
> </Location>
> </VirtualHost>


If "mysite.net" is on the same server as "myProxy.net" it works but it
doesn't work if they are on different servers.

What am I doing wrong ?

Thanks

-- 
Tristan ZWINGELSTEIN <http://tristan.zwingelstein.net>

17 Rue Principale
68780 Soppe-le-Bas

00 41 76 819 18 74
03 89 38 50 17

Reply via email to