"Ralf S. Engelschall" wrote:
|
| \#   Force clients from the Internet to use HTTPS
| RewriteEngine        on
| RewriteCond          %{REMOTE_ADDR} !^192\.168\.1\.[0-9]+$
| RewriteCond          %{HTTPS} !=on
| RewriteRule          .* - [F]
I need to put:

RewriteCond          %{ENV:HTTPS} !=on

to get it working.

Some questions ...

1.- What means - in the expresion .* - [F]? Is simply a manner to get an error?

2.- Something like:

RewriteEngine        on
RewriteCond          %{ENV:HTTPS} !=on
RewriteRule          .* - [F]

is the same as SSLRequireSSL ?

Thanks

-- 
        Manuel Mollar Villanueva
        Prof TEU depto informatica, UJI
        http://moon.act.uji.es
        mailto:[EMAIL PROTECTED]
        telf 964 72 8355
 


Reply via email to