Le 21/03/2017 à 14:27, Mickael Choisnard a écrit :
Hi
Thanks to your answer.
I didn’t see this option.
I activated it, i have the good domain but now i don’t see the « http ».
$_SERVER['HTTP_X_FORWARDED_PROTO'] . returns nothing
Thanks
The header is not standard, see
http://stackoverflow.com/questions/13111080/what-is-a-full-specification-of-x-forwarded-proto-http-header#13111106
If it is not set by your webserver, just use the plain value :
reset_url = "http://" . $_SERVER['HTTP_X_FORWARDED_HOST'] .
$_SERVER['SCRIPT_NAME'];
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
137 boulevard de Magenta - 75010 PARIS
_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users