What's new
Guest viewing is limited

How To Block An IP Address With Htaccess

c0mputertalk

Senior Talker
PF Member
Messages
373
Highlights
0
Reaction score
2
Points
0
Peak Coin
0.000000¢
DB Transfer
0.000000¢
Htaccess is a very powerful tool for blocking access of your site. By entering a few lines you can block IP addresses from accessing your site.

To block a few IP simply enter this in your .htaccess file:

Code:
order allow,deny
deny from 123.123.123.1
deny from 123.123.123.1
deny from 123.123.123.1
allow from all
 
Last edited by a moderator:
Back
Top