From bccb874a45a1bccaeecd2b5bd7f3249e073116f0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sat, 17 Oct 2009 06:32:45 -0400
Subject: [PATCH] Changed apache_ispconfig.conf.master template to allow access to phpmyadmin and squirrelmail in debian.

---
 install/tpl/apache_ispconfig.conf.master |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/install/tpl/apache_ispconfig.conf.master b/install/tpl/apache_ispconfig.conf.master
index 4f6d0da..2307bb9 100644
--- a/install/tpl/apache_ispconfig.conf.master
+++ b/install/tpl/apache_ispconfig.conf.master
@@ -13,10 +13,20 @@
     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>
\ No newline at end of file

--
Gitblit v1.9.1