-------- Original-Nachricht --------
> Datum: Thu, 23 Aug 2007 14:54:46 +0700
> Von: "Vincent Bray" <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: Re: [EMAIL PROTECTED] Telling one IP address 404 "Nothing found"
> On 23/08/07, Steve Swift <[EMAIL PROTECTED]> wrote:
> > Is it possible to block a specific IP address such that they get 404
> "Not
> > found" no matter what URL they try?
> >
> > I don't want to use "Deny From" or other IP address blocking schemes,
> > because that will just alert them to the fact that I have my shields up.
> > I just want this particular IP address to think that my website is
> > completely empty.
> > And yes, it is a fixed IP address, so it's worth doing. It will cause
> them a
> > lot more grief to negotiate a different IP address, and hopefully they
> will
> > abandon their probing.
> >
> > Then they'll stop pestering my server with request that all fail
>
> Ok, then let's ignore proper http and try:
>
> RewriteEngine On
> RewriteCond ${REMOTE_ADDR} 1\.2\.3\.4
> RewriteRule ^ - [R=404]
>
I'm not sure but would this reject IP like 11.2.3.44?since this also match the
regex 1\.2\.3\.4
or set RewriteCond ${REMOTE_ADDR} ^1\.2\.3\.4$ ?
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]