httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From V B <for...@clustermagnet.com>
Subject [users@httpd] reverse proxy / extfilter not working
Date Tue, 31 Jan 2012 01:09:38 GMT
Gents,
  This appears to be a common issue....

  Whilst you are able to execute ExtFilters on local files, a Reverse Proxy
configuration does not work the same way.

  This has been reported here:
   http://objectmix.com/apache/706472-proxypass-extfilter.html

  Config:

<VirtualHost *:80>
        ServerAdmin webmaster@domain.com
        DocumentRoot /usr/local/apache/htdocs/
        ServerName search.domain.com
        ServerAlias search.domain.com
        ErrorLog logs/search.domain.com-error_log
        CustomLog logs/search.domain.com-access.log combined

        <Proxy balancer://domain.com>
                BalancerMember http://ip1
                BalancerMember http://ip2
        </Proxy>

        ExtFilterDefine fixtext mode=output intype=text/html cmd="/bin/sed
s/html/HTML/ig"

        SetOutputFilter fixtext

        RewriteEngine on
        ProxyPass / balancer://domain.com/
        ProxyPassReverse / balancer://domain.com/

</VirtualHost>


I am completely out of thoughts on this matter.  If you guys could help,
that would be wonderful....

Thanks!
Vasiliy

PS  Removing the revproxy, and things work like a charm.

Mime
View raw message