On Mon, 9 Nov 2009 07:00:00 +0100, Willy Tarreau <[email protected]> wrote: > On Thu, Nov 05, 2009 at 12:24:35PM +0100, XANi wrote: > > Hi, > > > > is there any way to use conditions with reqrep and similiar ? > > Not yet. It's one of the things on the todo list. Not very hard, it > just requires some time. > > > 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 ;] > > I certainly can understand. Would you volunteer to add the > conditions to all req* ? It's not *that* hard and you would > immediately benefit from your new feature :-) Ill try if i get some free time (prob. weekend) but my C skills aren't that good so i hope it wont be too ugly ;]
Regards Mariusz -- Mariusz Gronczewski (XANi) <[email protected]> GnuPG: 0xEA8ACE64 http://devrandom.pl
signature.asc
Description: PGP signature

