I tried to use the "additional Apache directives" function to protect some webfolders from being accessed from some countries using geoip. I did it like I did it some times before with other apache hosted sites (not using ISPConfig) like in this example:
<Limit GET POST>
SetEnvIf GEOIP_COUNTRY_CODE DE AllowCountry
deny from all
allow from env=AllowCountry
It works like a charm on any standalone apache, but not with ISPConfig. Does anyone have a recommendation how to solve this problem? It's caused by an Allow from ALL in the main / generated part of the configuration file per VHost.
Specs: Ubuntu 13.04, Apache 2.2.22, PHP 5.4.9, MySQL 5.5.32, ISPConfig 126.96.36.199