Great it works, is misunderstood the documentation an thought it would also be redirected to location /
Thanks -----Ursprüngliche Nachricht----- Von: Graeme Donaldson [mailto:[email protected]] Gesendet: Montag, 19. Dezember 2011 16:12 An: MEßNER Arthur,Ing.Mag. Cc: [email protected] Betreff: Re: http to https redirection On 19 December 2011 16:37, MEßNER Arthur,Ing.Mag. <[email protected]> wrote: > hello, > > is there any method to do http to https redirection with variable Location > > my configuration: > > frontend someserver-clear > bind 10.16.246.9:80 > acl clear dst_port 80 > redirect location https://someserver.somedomain/ if clear > > it works but redirects something like this > > http://soemserver.somedomain/login/index.html > > to https://someserver.somedomain/ > - no path Use "redirect prefix" instead of "redirect location". Prefix will retain the rest of the URI. HTH, Graeme.

