[thelist] blocking User Agent = vobsub

Ken Schaefer ken at adOpenStatic.com
Sat Feb 21 03:07:40 CST 2004


I'm not an Apache expert, but it seems you can set an environment variable:
http://httpd.apache.org/docs-2.0/mod/mod_setenvif.html#browsermatch
    -or-
http://httpd.apache.org/docs-2.0/mod/mod_setenvif.html#browsermatchnocase

then you can set a deny directive based on that environment variable:
http://httpd.apache.org/docs-2.0/mod/mod_access.html#deny

For an example of how this works, see:
http://httpd.apache.org/docs/mod/mod_access.html
which can be reached (number 1 hit) via:
http://www.google.com.au/search?q=Apache+how+to+deny+based+on+user+agent

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "John C Bullas" <jcbullas at nildram.co.uk>
Subject: Re: [thelist] blocking User Agent = vobsub


: At 08:08 21/02/2004, you wrote
: >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: >From: "John C Bullas" <jcbullas at nildram.co.uk>
: >Subject: [thelist] blocking User Agent = vobsub
: >
: >
: >: User Agent = vobsub
: >:
: >: what do I put in .htaccess to block this agent!!!
: >:
: >: 55 404s!!!!!
: >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: >
: >I think you obsess a little too much about these 404s. If you're going to
:
: You have to have something to play with...
:
: Someone please tell me how to block vobsub or any other user agent please
: and leave me to deal with whether I'm obsessive about 404s or not ;)
:
: I just happen to want to know how to block agents that's all!
:
: FB
:
: >block every user agent that generates more than a few dozen 404s, I don't
: >know what you're going to do when you start getting a few hundred
thousand
: >page views/month (or more).
:
: Don't have any other agents that don't kick up so many errors unless they
are
: telling me I forgot to put another blessed robots.txt in!
:
: -- 
: * * Please support the community that supports you.  * *
: http://evolt.org/help_support_evolt/
:
: For unsubscribe and other options, including the Tip Harvester
: and archives of thelist go to: http://lists.evolt.org
: Workers of the Web, evolt !
:



More information about the thelist mailing list