Re: Detecting HTTPS connections under Apache
| From: | Geoff Shang | Date: | Sat, 28 May 2011 16:52:31 +0000 |
| Subject: | Re: Detecting HTTPS connections under Apache | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313214@lists.php.net to get a copy of this message | ||
On Fri, 27 May 2011, Curtis Maurand wrote:
$_SERVER['HTTPS']I don't see this at all. I'm definitely connecting securely. Here are the status lines from Lynx when surfing to https://MintFM.net/phpinfo.php:
1. Looking up mintfm.net
2. Making HTTPS connection to mintfm.net
3. Verified connection to mintfm.net (cert=mintfm.net)
4. Certificate issued by: /C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA
5. Secure 128-bit TLS1.0 (DHE_RSA_AES_128_CBC_SHA1) HTTP connection
6. Sending HTTP request.
7. HTTP request sent; waiting for response.
8. HTTP/1.1 200 OK
9. Data transfer complete
So it's definitely secure, but I'm not seeing anything in $_SERVER that says so. So I'm wondering if Apache is not exporting something properly.
Geoff.