mod_rewrite + proxy requests + mod_exf_filter

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

 



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?


-- 

Best regards,
Sergey N. Romanov

---------------------------------------------------------------------
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