GeoIPEnable On # Put countries to allow here SetEnvIf GEOIP_COUNTRY_CODE AU AllowCountry SetEnvIf GEOIP_COUNTRY_CODE NZ AllowCountry Deny from all Allow from env=AllowCountry GeoIPEnable On # Add countries you wish to deny here SetEnvIf GEOIP_COUNTRY_CODE CO DenyCountry SetEnvIf GEOIP_COUNTRY_CODE EG DenyCountry SetEnvIf GEOIP_COUNTRY_CODE HI DenyCountry Allow from all Deny from env=DenyCountry