[Hampshire] apache block invalid IP address

Top Page

Reply to this message
Author: John Cooper
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] apache block invalid IP address
Hi, I'm seeing user registration attempts on one of my forums with an IP
address of "."

How can I block (403) either an IP address of "." or an invalid IP
address using the .htaccess file?

. - - [01/Jul/2010:22:06:04 -0600] "GET /cgi-bin/user_register.pl
HTTP/1.0" 200 4541 "http://silverwing.org/user_register.pl" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; MRA 4.3 (build 01218); .NET CLR
1.1.4322)"


Thanks, John.

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------