Quote:
Originally Posted by CIVMatt
I wonder if there's a plugin to block .pl users from creating accounts.... assholes
|
Add to htaccess maybe? I´m not an Apache expert, but I think this should work.
limit the POST function to specific countries. The POST request method is used when the client needs to send data to the server as part of the request, such as when uploading a file or submitting a completed form so keep in mind this will affect all POST methods on your site.
Code:
#BLOCK_POLAND
<Limit POST>
order allow,deny
deny from 46.17.112.0/21
deny from 46.18.104.0/21
deny from 46.20.48.0/20
and so on....
allow from all
</Limit>
#COUNTRY_BLOCK_END
full code here
https://dl.dropboxusercontent.com/u/.../blocklist.txt