httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Moe <ji...@sohnen-moe.com>
Subject [users@httpd] Denying an IP address range
Date Mon, 24 Mar 2014 23:53:54 GMT
-----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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message