|
another way if you want to do fun things in PHP or some other script:
in .htaccess
SetEnvIfNoCase GEOIP_COUNTRY_CODE "^RU$" BadBoy=1
SetEnvIfNoCase GEOIP_COUNTRY_CODE "^UA$" BadBoy=1
##add any other country code to ban
then in a php script:
if($_SERVER['BadBoy']==1) {
//do something with the bad boy ruskies
}else{
//we're not banned
}
__________________
For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)
All models are wrong, but some are useful. George E.P. Box. p202
|