From f3d383ecdedfb2ab46131bc842cfe0199fc54886 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sat, 17 Oct 2009 06:33:06 -0400 Subject: [PATCH] Changed apache_ispconfig.conf.master template to allow access to phpmyadmin and squirrelmail in debian. --- install/tpl/apache_ispconfig.conf.master | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/install/tpl/apache_ispconfig.conf.master b/install/tpl/apache_ispconfig.conf.master index 49d0d9b..4d29612 100644 --- a/install/tpl/apache_ispconfig.conf.master +++ b/install/tpl/apache_ispconfig.conf.master @@ -13,4 +13,22 @@ Deny from all </Directory> +# Do not allow access to the root file system of the server for security reasons +<Directory /> + AllowOverride None + Order Deny,Allow + Deny from all +</Directory> + +# Except of the following directories that contain website scripts +<Directory /usr/share/phpmyadmin> + Order allow,deny + Allow from all +</Directory> + +<Directory /usr/share/squirrelmail> + Order allow,deny + Allow from all +</Directory> + -- Gitblit v1.9.1