Re: Re: Spoofing SERVER_PORT/HTTPS env?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Re: Spoofing SERVER_PORT/HTTPS env?
- From: Rainer Canavan <rainer.canavan@xxxxxxxxxxxx>
- Date: Thu, 23 Mar 2017 13:29:31 +0100
- In-reply-to: <CAP+vvEt+ZZsQSUAbE_ufy7vL-f7QVj0md5Jpgqdov=kMpkko0Q@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
[...]
>> 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.
OVERRIDE_SERVER_PORT, if it is set.
rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]