Re: [ILUG] block by referrer

From: Rob Hill (robhill at domain indigo.ie)
Date: Tue 10 Aug 1999 - 11:24:08 IST


found this:

<apachedoc>

Syntax: deny from env=variablename
Context: directory, .htaccess
Override: Limit
Status: Base
Module: mod_access
Compatibility: Apache 1.2 and above

The deny from env directive controls access to a directory by the existence (or
non-existence) of an environment variable.

Example:

    BrowserMatch ^BadRobot/0.9 go_away
    <Directory /docroot>
        order allow,deny
        allow from all
        deny from env=go_away ###since when is there an env. var. 'go_away' ??
    </Directory>

In this case browsers with the user-agent string BadRobot/0.9 will be denied access, and
all others will be allowed.

</apachedoc>

is this applicable?

TIA

rob



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:26 GMT