Forum Moderators: phranque
GeoIPDBFile /download/mod_geoip/GeoIP.dat
SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry
SetEnvIf GEOIP_COUNTRY_CODE RU BlockCountry
Deny from env=BlockCountry
Then Apache refuses to restart. I did some digging and I have a Syntax Error. That error is: "deny not allowed here"
So I go back and comment out: Deny from env=BlockCountry
And it restarts just fine so I found the offending line. Of course if I comment out that line I can't block the countries. Can anyone help me figure out what I'm doing wrong?
-Z