Matthes
Angesehenes Mitglied
- Registriert
- 02.07.2019
- Beiträge
- 517
Das ist dein Code.GeoIPEnable OnSetEnvIf GEOIP_COUNTRY_CODE DE AllowCountrySetEnvIf GEOIP_COUNTRY_CODE AT AllowCountrySetEnvIf GEOIP_COUNTRY_CODE CH AllowCountrySetEnvIf GEOIP_COUNTRY_CODE US AllowCountryOrder deny,allowDeny from allAllow from env=AllowCountry
GeoIPEnable On
SetEnvIf GEOIP_COUNTRY_CODE DE AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE AT AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE CH AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE US AllowCountry
Order allow, deny #alles, was nicht freigegeben wurde, wird blockiert
Allow from env=AllowCountry #du gibst alle Länder, die du oben definiert hast, frei
Deny from 185.6.8 #du blockierst speziell noch einmal diese IP, alle weiteren erhalten jeweils eine zusätzliche Zeile darunter
Das ist der geänderte. Der einzige Unterschied ist die Reihenfolge von allow und deny.