Re: mod_rewrite + proxy requests + mod_exf_filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux