redirecting many urls

From: Matt <>
Date: Tue, 1 Dec 2009 10:52:29 +0000

Hi all,

I'm trying to do the following apache rewrite rule in haproxy -

RewriteRule ^/([a-z]+)/mypage$$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?


Matt Received on 2009/12/01 11:52

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