httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] Block wget attempts from my site
Date Tue, 03 Oct 2006 14:21:55 GMT
On Tuesday 03 October 2006 14:17, Norman Khine wrote:
> Hello,
> What is the best way to block someone from ripping/mirroring stuff from my
> site with wget?

Make your contents available in a convenient form, so users have
no need of things like wget.  Remember there are a lot of people
on expensive dialup lines, and they don't want to spend a time
"live" looking for what they need on your site when they can browse 
it more easily and cheaply, as well as faster, offline.

> Is there an Apache way to do this, have seen it done with  
> .htaccess but perhaps there is a way to do this from Apache.

That's confused.  WTF is .htaccess if not an Apache way to do this?
Anything you can do with .htaccess can also be done in httpd.conf.

> mod-security, snort perhaps? How does this fit with VirtualHosts and can
> these be specific per host?

Well, you could use a rewritecond based on user-agent.  But that would
be BAD.

Nick Kew

Application Development with Apache - the Apache Modules Book

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message