On 11/2/05, gregory duchesnes <[EMAIL PROTECTED]> wrote:
> SetEnvIf Remote_Addr ^192\.168\.0\.2$ welcome
> BrowserMatch !"^Mozilla" !welcome

You can't negate a regex in that way.

Try this instead:
SetEnvIf Remote_Addr ^192\.168\.0\.2$ welcome
SetEnvIf User-Agent "^Mozilla" badbrowser=1
SetEnvIf badbrowser 1 !welcome

> Order Allow,Deny
> Allow from env=welcome

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to