Page 1 of 1

Stoping access from a specific IP address...

PostPosted: 02. September 2004 10:00
by ozental_uk
I have a software firewall running but I'm getting 'attacks' from a couple of identified IP addresses. I don't seem to be able to 'stop' access access from those IPs from my firewall so if there any way in Apache to stop certain IP address from all access to my server?

PostPosted: 03. September 2004 06:24
by Maller
Put this in a htaccess files:
Code: Select all
<Limit GET POST>
Order Allow,Deny
deny from xxx.xx.xx.xx
allow from all
</Limit>

Replace xxx.xx.xx.xx with the ip address you want to block