roberthodasz / mod-spdy

Automatically exported from code.google.com/p/mod-spdy
0 stars 0 forks source link

Missing HTTPS fields in PHP #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We cannot retrieve HTTPS variables in PHP from $_SERVER variable with mod-spdy 
enabled while it works OK with bundled mod_ssl.

What version/revision number of mod_spdy are you using?
mod-spdy-beta 0.9.3.3 RPM package

What version of Apache are you using, and on what operating system?  (Use
`apache2ctl -v` to check.)
Server version: Apache/2.2.15 (Unix)
Server built:   Feb 22 2013 11:19:58
CentOS 6.4 x86_64, latest bundled Apache with patches from RedHat.

What other Apache modules are you using?  (Use `apache2ctl -M` to check.)
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_file_module (shared)
 authn_alias_module (shared)
 authn_anon_module (shared)
 authn_dbm_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 authz_owner_module (shared)
 authz_groupfile_module (shared)
 authz_dbm_module (shared)
 authz_default_module (shared)
 ldap_module (shared)
 authnz_ldap_module (shared)
 include_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 ext_filter_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 deflate_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 mime_module (shared)
 dav_module (shared)
 status_module (shared)
 autoindex_module (shared)
 info_module (shared)
 dav_fs_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 substitute_module (shared)
 rewrite_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_ajp_module (shared)
 proxy_connect_module (shared)
 cache_module (shared)
 suexec_module (shared)
 disk_cache_module (shared)
 cgi_module (shared)
 version_module (shared)
 php5_module (shared)
 ssl_module (shared)
Syntax OK

What browser version did you use to access the mod_spdy server?  On what
operating system? What flags was the browser invoked with?  (For
Chrome/Chromium, go to about:version to check.)
Mozilla Firefox 20.0.1

What steps will reproduce the problem?
1. Install mod_spdy from 
https://dl-ssl.google.com/dl/linux/direct/mod-spdy-beta_current_x86_64.rpm;
2. Set Apache to verify client certificates;
3. Dump $_SERVER variable in PHP with var_dump($_SERVER).

What is the expected result?

We should see client certificate fields in $_SERVER:
 ["SSL_CLIENT_S_DN_C"]=> string(2) "SE"
 ["SSL_CLIENT_S_DN_L"]=> string(9) "Stockholm"
 ["SSL_CLIENT_S_DN_O"]=> string(12) "My Company Sales"
 ["SSL_CLIENT_S_DN_CN"]=> string(10) "Site Admin"
 ["SSL_CLIENT_S_DN_Email"]=> string(24) "103@mydomain.se"

What do you see instead?

We do not have the fields above.

Original issue reported on code.google.com by codegu...@gmail.com on 19 Apr 2013 at 2:45