From cf5262457865f5b4a6abf73e73429b1db5464675 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 7 Oct 2011 11:35:44 +0200 Subject: Disable php in homedirs. --- apache2/conf.d/local-php.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apache2') diff --git a/apache2/conf.d/local-php.conf b/apache2/conf.d/local-php.conf index f427805..fc6e91f 100644 --- a/apache2/conf.d/local-php.conf +++ b/apache2/conf.d/local-php.conf @@ -1,6 +1,16 @@ +# requires: php5 + SetHandler application/x-httpd-php SetHandler application/x-httpd-php-source +# To re-enable php in user directories comment the following lines +# (from to .) Do NOT set it to On as it +# prevents .htaccess files from disabling it. + + + php_admin_value engine Off + + -- cgit v1.2.3