Apache https Environment variable not being set.

I've installed Ubuntu, Apache 2.2 and php with SSL certs as per https://www.linode.com/docs/security/ss … e-pangolin">https://www.linode.com/docs/security/ssl/ssl-certificates-with-apache-2-on-ubuntu-12-04-precise-pangolin

Everything is working fine except the php $_SERVER['https'] variable is not being set. (It is not present on a phpinfo() page.)

This is supposed to be set by Apache but I can't find any config that will turn it on.

Does anyone know how to set this?

1 Reply

Update. The problem, is only on the self signed certificates that I use on the staging sub domain.

The site with the real cert doesn't have this problem.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct