IP block using .htaccess file?

tdykyugh

BANNED
Joined
Jul 24, 2016
Messages
67
Reaction score
0
Hello
How I can block this IPs:
5.113.44.231 5855
5.116.157.214 1492
Can anyone write a code for it?
thx
 
Order Deny,Allow
Deny from 5.113.44.231
Deny from 5.116.157.214
 
Order Deny,Allow
Deny from 5.113.44.231
Deny from 5.116.157.214
thx, Can i add their Port too like:
deny from 5.113.44.231 5855
deny from 5.116.157.214 1492
allow from all
?
 
You don't need to add the port number.
 
Back
Top