Denying an IP address range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
  Our site denies access by a IP address range. A couple days ago I
had a load of accesses by one of the addresses in that network,
64.37.231.140. Mostly, it works as expected.
  I am confused by some of the errors recorded, a sample is shown
below. The first line is expected: Yay! it was denied access!
  The next two lines indicate otherwise. Is a path's existence checked
before accessibility?

  There are about 1150 of the configuration lines, and about 20 of the
no-file lines.

[Sun Mar 16 10:26:19 2014] [error] [client 64.37.231.140] client
denied by server configuration: /var/www/html/axis
[Sun Mar 16 10:26:19 2014] [error] [client 64.37.231.140] File does
not exist: /var/www/icons/axis
[Sun Mar 16 10:26:19 2014] [error] [client 64.37.231.140] File does
not exist: /var/www/icons/axis

  Is there a way to suppress the access denial error messages?


- ----[ .htaccess ]----
#
Options +ExecCGI +FollowSymLinks
#
Order allow,deny
Allow from all

... a lot of redirects ...

# Deny (a range of) IP addresses
#
Order allow,deny
Allow from all
Deny from 64.37.231
#
# blah blah blah ...


- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMwxZIACgkQzTcr8Prq0ZPWSQCfTgBmetRmHpW75uZj+14+nHEF
XAoAoI2QWVYFkH4IowmcmBuPSrJMj/VN
=2IWR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux