Thanks Bryan, i've got it now.
I missed that the query string isn't considered part of the *path*. Best Regards, Bjoern 2014-05-02 11:05 GMT+02:00 [email protected] <[email protected]>: > Hi, > > i'm trying a basic redirect with HAProxy: > > > frontend http > > > acl is_domain hdr_dom(host) -i abc.example.com > > acl root path_reg ^$|^/$ > > > redirect location http://abc.example.com/?code=1234 code 301 if > is_domain root > > > Unfortunately this ends up in a redirect loop. > > I suspect the "?" - character, when i escape this character with "\" the > loop problem is fixed, but now HAProxy redirects to " > http://abc.example.com/\?code=1234" > > > Thanks, > > Bjoern >

