follow these steps:
Create a file named .htaccess file and fill it with one of the following script:
To perform a block on a single IP Address
order allow,deny
deny from 127.0.0.1
allow from all
To block Multiple IP Address
order allow,deny
deny from 127.0.0.1
deny from 127.0.0.2
deny from 127.0.0.3
allow from all
To block the IP address range 127.0.0.0 to 127.0.0.255
deny from isp_name.com* note: Replace the example IP address above with the IP address you want.
0 comments:
Post a Comment