Edit report at https://bugs.php.net/bug.php?id=61379&edit=1
ID: 61379 Updated by: [email protected] Reported by: rickard at 0x539 dot se Summary: Set _SERVER['HTTPS'] to on for SPDY connections -Status: Open +Status: Not a bug Type: Feature/Change Request Package: Apache2 related Operating System: Linux 2.6 PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: It's going to be up to mod_spdy to set the relevant environment variable(s) in Apache. Previous Comments: ------------------------------------------------------------------------ [2012-03-13 21:55:11] rickard at 0x539 dot se 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 this bug report at https://bugs.php.net/bug.php?id=61379&edit=1
