Forum Discussion
Hassan_Ali_1810
Dec 26, 2014Nimbostratus
x-forwarded-proto + F5 + Drupal issues
my client has setup F5 and doing ssl offloading. I'm using drupal application on linux RedHat.
network team has set the x-forwarded-proto header on F5 device.
I've added
RequestHeader add ...
shaggy
Dec 31, 2014Nimbostratus
Check to make sure they did not enable x-forwarded-for on the HTTP F5 virtual server that the application uses. If you enable HTTPS in drupal only when the x-forwarded-for header is set, then enabling x-forwarded-for on the http virtual server on the f5 (which is a normal thing to do) could cause undesirable application effects
Also, as I am unfamiliar with drupal, what does "$_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'" do? the contents of a legitimate x-forwarded-for header will never contain the text "https"
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects