Re: mod_rewrite does not respect env HTTPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 26, 2015 at 11:25 AM, zBit <z0bi0t@xxxxxxxxx> wrote:
> RewriteCond %{HTTPS} =on
>
> Is there any workaround for this? So far, I tried to disable mod_ssl
> completely and also checked modules hooks and it seems that
> environment files are loaded before the rewrite module.


%{HTTPS} does not look up an environment variable. It calls a function
that asks the mod_ssl if if the connection is using SSL.

If it's not used for security, and your users know what it means, you
could have them use %{ENV:HTTPS}

---------------------------------------------------------------------
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]

  Powered by Linux