Hi,
On Mon, Sep 01, 2008 at 10:05:33AM +0200, Benedikt Fraunhofer wrote:
> Hi *,
>
> 2008/9/1 Travis Reeder <treeder#gmail.com>:
>
> > server webA 10.253.43.146:80/somepath/ cookie A check
>
> You could try something like
>
> reqrep ^/ /somepath/
>
>
> Just my 2 cent
Almost that, but you're right about the method. What happens is that "reqrep" affects any of the request's lines, including headers. You can distinguish headers from requests by the space after the method. When I have to do this, here's how I proceed :
reqrep ^([^:\ ]*\ )/(.*) \1/somepath/\2
Yes, it's ugly and in the future we'll need something more handy. But at least currently this works ;-)
Regards,
Willy
Received on 2008/09/02 21:26
This archive was generated by hypermail 2.2.0 : 2008/09/02 21:30 CEST