Deny Or Allow Countries With Apache .htaccess

Posted by suvi under Apache, Security, Server

The following script is using blogama.org IP geolocation API to
automatically generate Apache .htaccess file to deny or allow specific
countries. You can put this script under crontab and the .htaccess
rules will be automatically updated. Also, it can update multiple
.htaccess files.

Read more at HowtoForge

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word