From b4aaf3eedda4001ad5e01ac2c19494020148a77c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 08 Sep 2011 10:57:26 -0400
Subject: [PATCH] Fixed: FS#1579 - Add Exim config files for centos to config file folder.
---
server/conf/apache_ispconfig.conf.master | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/server/conf/apache_ispconfig.conf.master b/server/conf/apache_ispconfig.conf.master
index 7db2a48..8723d93 100644
--- a/server/conf/apache_ispconfig.conf.master
+++ b/server/conf/apache_ispconfig.conf.master
@@ -12,7 +12,45 @@
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>
+
+<Directory /var/www/conf>
+ 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/phpMyAdmin>
+ Order allow,deny
+ Allow from all
+</Directory>
+
+<Directory /usr/share/squirrelmail>
+ Order allow,deny
+ Allow from all
+</Directory>
+
+# allow path to awstats and alias for awstats icons
+<Directory /usr/share/awstats>
+ Order allow,deny
+ Allow from all
+</Directory>
+
+Alias /awstats-icon "/usr/share/awstats/icon"
+
<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