On Oct 27, 2016 6:41 AM, "Jürgen Haas" <[email protected]> wrote: > > Thanks Andrew, > > I still believe that your example is not redirecting, it is forwarding > to the Apache server which responds with a 200 and the same content as > before. > > But what we're loking for is a redirect which isn't the case here.
It seems like you are looking for something like this:
http-request redirect code 301 location %[capture.req.uri,regsub(^/de,)] if
{ path_beg /de }
Requires 1.6 or later.

