Re: redirecting many urls

From: Matt <mattmoran76#gmail.com>
Date: Wed, 2 Dec 2009 12:58:50 +0000


I guess this can't be done at the moment? Is there a feature request for this already?

Thanks,

Matt

2009/12/1 Matt <mattmoran76#gmail.com>:
> Hi all,
>
> I'm trying to do the following apache rewrite rule in haproxy -
>
> RewriteRule ^/([a-z]+)/mypage$  http://mydomain.com/$1/yourpage [R=301,L,NE]
>
> I've used the redirect directive before in Haproxy but noticed i'm
> unable to pass in the value captured in the acl to the redirect which
> would mean i'd have to list every acl/redirect for every capture :-(
>
> Is there a way to do this redirect with the rsprep? or is there
> another obvious way i'm missing?
>
> Thanks,
>
> Matt
>
Received on 2009/12/02 13:58

This archive was generated by hypermail 2.2.0 : 2009/12/02 14:00 CET