[nycbug-talk] apache - blocking by referrer
Dan Langille
dan
Thu May 26 13:51:49 EDT 2005
On 26 May 2005 at 13:16, Kevin Reiter wrote:
> Dan Langille wrote:
> > Hi folks,
> >
> > Have you seen a solution for blocking incoming httpd requests based
> > upon the referrer? I'm getting lots of referrer spam from www.texas-
> > hold-em-world.com
>
> I found an article that explains how to use mod_rewrite to do this:
>
> http://urbanmainframe.com/folders/blog/20041115/
*insert sound of pleased chuckling*
205.208.226.61 - - [26/May/2005:10:47:59 -0700] "GET
/bootfloppies.php HTTP/1.0" 403 291 "http://www.example.com/online-p
oker.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; KITV4.7
Wanadoo)"
NOTE: actual domain changed because the spammer doesn't deserve any
references from our mail archives.
Thanks.
--
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
More information about the talk
mailing list