#40031 [Opn->Bgs]: $_SERVER['HTTPS'] never empty on IIS
| From: | iliaa@php.net | Date: | Fri, 05 Jan 2007 15:15:34 +0000 |
| Subject: | #40031 [Opn->Bgs]: $_SERVER['HTTPS'] never empty on IIS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107193@lists.php.net to get a copy of this message | ||
ID: 40031
Updated by: iliaa@php.net
Reported By: matteo at beccati dot com
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: Windows 2003 Server
PHP Version: 5.2.0
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
The HTTPS var comes from IIS, PHP imports it along with other
server variables.
Previous Comments:
------------------------------------------------------------------------
[2007-01-05 13:37:31] matteo at beccati dot com
Description:
------------
When using isapi with IIS6 the variable seems to be always set to
either "on" or "off", but the manual states that $_SERVER['HTTPS'] has
a non-empty value when SSL is enabled (true on Apache, but either wrong
or misleading)
Feel free to mark this bug as a documentation problem: I don't know if
it's really a wrong behaviour of php-isapi.
Also replicated on IIS5.1/WinXP Pro
Reproduce code:
---------------
var_dump($_SERVER['HTTPS']);
Expected result:
----------------
NULL
Actual result:
--------------
string(3) "off"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40031&edit=1