Conditional reqrep

From: XANi <xani666#gmail.com>
Date: Thu, 5 Nov 2009 12:24:35 +0100


Hi,

is there any way to use conditions with reqrep and similiar ? Basically, I need to rewrite some parts of req only when other parts of req are matched by ACL. SO far i have it like that

acl cond_rew some_header_matching
use_backend appserv-out-rewrite if cond_rev default_backend appserv-out

and then i have 2 backends, one with rewrite, one without, which is ugly and i don't like it at all ;]

Regards
Mariusz

-- 
Mariusz Gronczewski (XANi) <xani666#gmail.com>
GnuPG: 0xEA8ACE64
http://devrandom.pl


Received on 2009/11/05 12:24

This archive was generated by hypermail 2.2.0 : 2009/11/05 12:30 CET