Forum Discussion

David_03_136486's avatar
David_03_136486
Icon for Nimbostratus rankNimbostratus
Oct 28, 2013

Incorrect PHP server variables when redirecting to https with irules

Hello there,

 

We've got a f5 redirecting http traffic to https pages. However, when checking server variables in PHP, it appears that php still thinks we are using http (even though the redirection is correctly working in the browser)

 

The SCRIPT_URI $_SERVER variable points to http://mysite, and the HTTPS $_SERVER variable is not set (even though I'm on a https page)

 

Could it be a problem with the irules ?(I do not have access to the irules, so I cannot paste them here)

 

Thanks David

 

  • Are you offloading SSL/HTTPS at the F5? As in pooling to port 80 HTTP PHP servers behind the F5?