httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] mod_rewrite does not respect env HTTPS
Date Thu, 26 Feb 2015 16:59:18 GMT
On Thu, Feb 26, 2015 at 11:25 AM, zBit <> 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:
For additional commands, e-mail:

View raw message