From 011700f520307aa76ffa4c6e36cd40e0fa4fb9db Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 18 Oct 2009 13:21:32 -0400
Subject: [PATCH] Added missing newline at the end of apache_ispconfig.conf.master

---
 server/conf/apache_ispconfig.conf.master |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/server/conf/apache_ispconfig.conf.master b/server/conf/apache_ispconfig.conf.master
index 7db2a48..7439208 100644
--- a/server/conf/apache_ispconfig.conf.master
+++ b/server/conf/apache_ispconfig.conf.master
@@ -12,7 +12,27 @@
     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>
+
+
 <tmpl_loop name="ip_adresses">
 NameVirtualHost {tmpl_var name="ip_address"}:80
 NameVirtualHost {tmpl_var name="ip_address"}:443
 </tmpl_loop>
+

--
Gitblit v1.9.1