So there's a restriction on $_SERVER[SERVER_PORT]? Is it compiled in?
On Mar 23, 2017 14:37, "Rainer Canavan" wrote:
[...]
>> SetEnvIf X-HTTPS "on" SERVER_PORT=443
>>
>> The above results in:
[...]
>> $_SERVER[SERVER_PORT]; => 80
We had the same problem a few
[...]
>> SetEnvIf X-HTTPS "on" SERVER_PORT=443
>>
>> The above results in:
[...]
>> $_SERVER[SERVER_PORT]; => 80
We had the same problem a few years ago, and went with a
workaround in the end. We're simply setting and evaluating a
different variable instead of SERVER_PORT, e.g.
bump
On Thu, Mar 16, 2017 at 5:33 PM, Andrei wrote:
> Hello everyone,
>
> I have a setup with Varnish/Hitch in front of Apache, where Hitch proxies
> the SSL traffic to Varnish via HTTP, and Apache receives the request via
> HTTP while the client request was done via https.