Stig04
Stig04

Reputation: 1

Blocking full IP range in htaccess file

I have a problem, get all this spam login attempts, have edited htaccess to try to block the IP group, but seems to go through anyway, anyone can tell me what to correct?

Ex, I want to block all from 141.101.xxx.xxx

Ex, attempt from 141.101.98.0 came through with the below in htaccess file.

Have tried removing .0 but that makes a 500 error....

Order Allow,Deny

Allow from all

Deny from 173.245.0

Deny from 162.158.0

Deny from 141.101.0

Deny from 108.162.0

thanks for all help :)

rgs Stig

Upvotes: 0

Views: 124

Answers (1)

When I am stuck with .htacces I use this handbook. I know it's not a solution but it might help others.

Upvotes: 0

Related Questions