LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] block by referrer

[ILUG] block by referrer

Rob Hill robhill at indigo.ie
Tue Aug 10 11:24:08 IST 1999


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell