In article <[EMAIL PROTECTED]> you wrote:

>  IMO, the '=' must not be there. Ralf?

>  -RewriteCond   ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
>  -RewriteCond   ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
>  +RewriteCond   ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !NOT-FOUND [OR]
>  +RewriteCond   ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !NOT-FOUND
>   RewriteRule   ^/.*  -  [F]

"!FOO" is just a regex-match for "FOO" and the result is negated. "=FOO"
is a plain text match for FOO and "!=FOO" is a plain text match for FOO
and the result is negated. So both are equal (ok, this is true only if
you really would write "!^FOO$", but don't let us be pedantic here), but
the "!=FOO" is faster. So I would keep "!=FOO" here.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to