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

is there any way to replace only http to https in redirect,
and letting path etc the same ?

the problem is with apache 301 redirections in the same protocol,
and the protocol for apache is always http.

something like 

https://someserver.somedomain/login apache redirects to
http://someserver.somedomain/login/ which haproxy redirects to
https://someserver.somedomain/ 



__________________________________________________
Ing.Mag. Arthur Meßner
IT-Systembetrieb
Abteilung Informationstechnik
TILAK - Tiroler Landeskrankenanstalten GmbH Landeskrankenhaus Innsbruck 
(Universitätskliniken) Anichstraße 35 | 6020 Innsbruck, Austria
Tel.: +43(0)50 504-25534 | Fax: -6725534
E-Mail: [email protected]
www.tilak.at
__________________________________________________



Reply via email to