How do I use .htaccess to block or drop an IP address that is attacking my server?
If you want to deny access to a specific IP address, you can add the following to your .htacess file in the root directory of your web site:
order allow,deny
deny from 64.38.244.72
allow from all
This example shows how to deny access to the IP address 64.38.244.72
Categories:
New Articles: