httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: Mod-rewrite / mod-env weirdness
Date Thu, 31 Jul 2003 17:37:19 GMT
* Alan Skea wrote:

> SetEnv SSL 1
...
> RewriteEngine on
> RewriteCond %{ENV:SSL}                !=1
> RewriteCond %{REQUEST_URI}    !^/(img)|(ssi)|(obj)/
> RewriteRule ^/(.*)$           /redir

SetEnv variables will we set much later than mod_rewrite can check them, so
the successful requests, you're seeing are probably subrequests, caused be a
handler.

mod_ssl should set the HTTPS variable (on or off) which is for that purpose.
You should use this one.

nd

Mime
View raw message