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
__________________________________________________
This archive was generated by hypermail 2.2.0 : 2011/12/19 15:45 CET