httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Peelman <>
Subject [users@httpd] How to properly block IP ranges server wide?
Date Fri, 14 Jan 2011 01:40:45 GMT
Hello all,

  I've got a server with name based virtualhosts. I am getting spammers 
from various countries and would like to block these IP ranges. But I 
can't seem to figure out how to block them. How can I block them by 
default for the entire server? Where do I put the:

    Order Allow,Deny
    Allow from all
    Deny from ip range
    Deny from ip range

  I've tried putting them in the main apache.conf and in an .htaccess 
file (in a vh) but I still see the spammers logging on and spamming from 
ips' in the list.

Thanks for any help steering me in the right direction.


Norman Registered Linux user #461062 -Have you been to yet?-

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message