From 3fbdb9bd7b59e185fe7efd40c74f009bc4e97d2f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 04 Mar 2009 10:21:24 -0500
Subject: [PATCH] changed vhost.conf.master

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

diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index b442607..04f60b8 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -73,6 +73,45 @@
         </Files>
 </tmpl_if>
     </Directory>
+	<Directory {tmpl_var name='web_document_root'}>
+        Options FollowSymLinks
+        AllowOverride Indexes AuthConfig Limit FileInfo
+        Order allow,deny
+        Allow from all
+<tmpl_if name='ssi' op='==' value='y'>
+        
+        # ssi enabled
+        AddType text/html .shtml
+        AddOutputFilter INCLUDES .shtml
+        Options +Includes
+</tmpl_if>
+<tmpl_if name='php' op='==' value='no'>
+        <Files ~ '.php$'>
+            Order allow,deny
+            Deny from all
+            Allow from none
+        </Files>
+        <Files ~ '.php3$'>
+            Order allow,deny
+            Deny from all
+            Allow from none
+        </Files>
+        <Files ~ '.php4$'>
+            Order allow,deny
+            Deny from all
+            Allow from none
+        </Files>
+        <Files ~ '.php5$'>
+            Order allow,deny
+            Deny from all
+            Allow from none
+        </Files>
+        <Files ~ '.phps'>
+            Order deny,allow
+            Allow from all
+        </Files>
+</tmpl_if>
+    </Directory>
 
 <tmpl_if name='cgi' op='==' value='y'>
     # cgi enabled

--
Gitblit v1.9.1