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.

Reply via email to