Re: [users@httpd] mod_rewrite does not respect env HTTPS

2015-02-26 Thread Eric Covener
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 e

[users@httpd] mod_rewrite does not respect env HTTPS

2015-02-26 Thread zBit
Hello everyone! I have Apache SSL virtuals behind the Nginx proxy defined with this directive: SetEnvIf X-Forwarded-Proto https HTTPS=on Users often use the following rewrite rule in their htaccess files for detecting SSL connection, but the variable HTTPS is not treated as expected: RewriteCon