Hi there, 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: Code: <Directory /var/www/clients/clientX/webXX/web/ProtectedDir> <Limit GET POST> SetEnvIf GEOIP_COUNTRY_CODE DE AllowCountry order deny,allow deny from all allow from env=AllowCountry </Limit> </Directory> 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 3.0.5.3 Regards, Tim
I actually managed it by using an .htaccess file within the webroot ... But it would be more comfortable (even for the user) to have configuration snippets for the apache directives within ISPConfig, am I right? ;-)