Hi,
i have reseller hosting and i have enabled a domain with mod_geoip module v 1.1.1 when phpinfo i see module is working and loaded.
i have also GeoIP.dat file
does nothing anyone knows the fix? i want block countrys by using .htaccess with geoip db
i have reseller hosting and i have enabled a domain with mod_geoip module v 1.1.1 when phpinfo i see module is working and loaded.
i have also GeoIP.dat file
Code:
<IfModule mod_geoip.c>
GeoIPEnable On
GeoIPDBFile /home/usernamefromdomain/domains/domainname.nl/public_html/GeoIP.dat
</IfModule>
SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE RU BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE NL BlockCountry
Deny from env=BlockCountry
does nothing anyone knows the fix? i want block countrys by using .htaccess with geoip db