plp050452 / simplesamlphp

Automatically exported from code.google.com/p/simplesamlphp
Other
0 stars 0 forks source link

Add support for X-Forwarded-Host header #438

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In some configurations where simplesamlphp is run behind a reverse proxy the 
use of HTTP_HOST for detecting the http host may not be correct. 

Attached is a simple patch that adds support for the X-Forwarded-Host header 
allowing simplesamlphp to use the correct http host set by the reverse proxy.

Original issue reported on code.google.com by drmattoc...@gmail.com on 20 Sep 2011 at 10:28

Attachments:

GoogleCodeExporter commented 8 years ago
I was wondering if the relatively recently added support for setting a full URL 
in the baseurlpath option already solves this problem? With the latest release 
from subversion, you can set baseurlpath to something like 
'https://myproxyserver.example.org/simplesaml/'.

Original comment by olavmrk@gmail.com on 23 Sep 2011 at 7:31

GoogleCodeExporter commented 8 years ago
Yes, the baseurlpath should fix the problem too.

Original comment by drmattoc...@gmail.com on 3 Oct 2011 at 1:50

GoogleCodeExporter commented 8 years ago

Original comment by jaim...@gmail.com on 20 Feb 2014 at 11:27