how do you ban an entire country? no offense to the ruskies, but they're a royal pain in my fucking ass. does anyone have a set of IP ranges to ban the former soviet union?
banning entire countries
Collapse
X
-
banning entire countries
Tags: None -
there are some geo ip scripts which allow you to do this. dont ask me which ones. -
-
Ya there is,
Here is the website for this:
http://www.maxmind.com/
You need root access to install it.Like the desert needs the rain
We do fully manged WordPress, VPS, and Servers. Adult Host Pro https://adulthostpro.com/ Since 2001Comment
-
Install this (the paid version is better though)
http://www.maxmind.com/app/geoip_country
and add this to your .htaccess file:
GeoIPEnable On
GeoIPDBFile /path/to/GeoIP.dat
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^RU$
RewriteRule ^(.*)$ http://www.dialerhell.com [L]Comment
-
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker
Comment
-
Comment




Comment