How do I block certain networks

BodyAthletics

Newbie
Joined
Jan 17, 2013
Messages
12
Reaction score
0
Getting a lot of spam traffic from one internet network. How can I block this network from the site?
 
These should be good starting points for you:
http://www.javascriptkit.com/howto/htaccess5.shtml
http://incredibill.me/htaccess-block-country-ips
http://www.webmasterworld.com/forum92/6459.htm

Just deny access to the IP block of the network in the root .htaccess file.
 
Getting a lot of spam traffic from one internet network. How can I block this network from the site?
You can block them using .htdeny or iptables from Ip2location's country blocker. See Ip2location free firewall list for generating the IP list.
 
Back
Top