Closed (duplicate)
Project:
Secure Pages
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Nov 2010 at 19:45 UTC
Updated:
17 Mar 2011 at 22:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
webgeer commentedI should have mentioned that my site is hosted on 1and1. The version of php is: PHP Version 5.2.14
Comment #2
damienmckennaHere's a quick patch for this.
Comment #3
mike503 commentedWhy not typecast to an int or boolean or something? Normalize it?
Comment #4
grendzy commentedHi, I've opened a new issue to centralize this discussion:
#1096744: Document support for proxies and non-standard web server configurations
In the meantime, details on how to configure non-standard servers for securepages can be found here:
http://www.metaltoad.com/blog/running-drupal-secure-pages-behind-proxy
BTW $_SERVER['HTTPS'] is set by Apache. If you know what specific conditions cause it to be "1" instead of "on" please let me know so I can add it to the docs.