httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matt farey <matt.fa...@gmail.com>
Subject Re: [users@httpd] mod_rewrite + proxy requests + mod_exf_filter
Date Fri, 23 Feb 2007 14:25:49 GMT
have you tried [P,L,T=text/html]


Sergey N. Romanov wrote:
> Hi,
>
> We need system which will make these things :
> - user requested url like http://our.server/XYZ/page.html
> - rewrite engine should map /XYZ/ to real server name and make proxy
> request to http://another.server/page.html
> - then output filter should replace any specified content
>
> Sound like very easy... But for any reason this do not work :-(
>
> We have these lines in our vhost config :
>
> ExtFilterDefine fltr mode=output intype=text/html cmd="filter.pl"
> SetOutputFilter fltr
>
> RewriteEngine  on
> RewriteMap     hpm     prg:map.pl
> RewriteRule    ^(.+)$  ${hpm:$1}       [P,L]
>
> Without rewrite engine filter works fine and I can see that content is
> changed by filter. But when rewrite engine is activated, then I can see,
> that content is not changed.
>
> Can someone explain me why this do not work?
>
>
>   

-- 
Matthew Farey
Web App Sec.
25 The Polygon, Southampton, Hants, SO15 2BP, UK
Phone +44(0)2380 631449



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message