Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ifModule mod_geoip.c>
- 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
- </ifModule>
- <ifModule mod_geoip.c>
- 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
- </ifModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement