Re: Conditional reqrep

From: Willy Tarreau <w#1wt.eu>
Date: Mon, 9 Nov 2009 07:00:00 +0100


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

Regards,
Willy Received on 2009/11/09 07:00

This archive was generated by hypermail 2.2.0 : 2009/11/09 07:15 CET