* 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

Reply via email to