On January 4, 2011 18:03 , Carlos S <neu...@gmail.com> wrote:
Is there any way to disable download/traffic from wget-like user
agents? Can this be done using user-agent string? Any documentation
link or example will be really helpful.
Follow the example below, but use only the user agent condition, omit
the IP condition, and suitably adjust the RewriteRule regular expression
to match the URL(s) you wish to block:
http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html#blocking-of-robots
Note that wget has a -U option that can be used to get around this block
by using a user agent string that you are not blocking -- so the block
will not prevent a determined downloader.
--
Mark Montague
m...@catseye.org
---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org