From: Operating system: Linux 2.6 PHP version: 5.3.10 Package: Apache2 related Bug Type: Feature/Change Request Bug description:Set _SERVER['HTTPS'] to on for SPDY connections
Description: ------------ When playing around with the mod_spdy Apache module it seems that the HTTPS key in the _SERVER variable is set to off. I'm not sure if this is the job for PHP or SPDY but I thought I'd start here. Test script: --------------- <?php /* 1. Install mod_spdy using the instructions from http://code.google.com/p/mod-spdy/wiki/GettingStarted Connect to the server and dump _SERVER */ var_dump($_SERVER); Expected result: ---------------- ["HTTPS"]=> string(3) "On" Actual result: -------------- array(40) { ["REDIRECT_SPDY_VERSION"]=> string(1) "2" ["SPDY_VERSION"]=> string(1) "2" .. ["SERVER_PORT"]=> string(3) "443" .. ["HTTPS"]=> string(3) "Off" } -- Edit bug report at https://bugs.php.net/bug.php?id=61379&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61379&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61379&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61379&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61379&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61379&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61379&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61379&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61379&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61379&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61379&r=support Expected behavior: https://bugs.php.net/fix.php?id=61379&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61379&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61379&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61379&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61379&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61379&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61379&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61379&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61379&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61379&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61379&r=mysqlcfg