From fe98c110874830e96c469a0146ce21fb56bba58c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 04 Mar 2009 12:11:55 -0500
Subject: [PATCH] changed vhost.conf.master

---
 server/conf/vhost.conf.master |   84 ++----------------------------------------
 1 files changed, 4 insertions(+), 80 deletions(-)

diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index 03ef2fa..38d1b61 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -47,29 +47,10 @@
         Options +Includes
 </tmpl_if>
 <tmpl_if name='php' op='==' value='no'>
-        <Files ~ '.php$'>
+        <Files ~ '.php[s3-6]{0,1}$'>
             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>
@@ -86,29 +67,10 @@
         Options +Includes
 </tmpl_if>
 <tmpl_if name='php' op='==' value='no'>
-        <Files ~ '.php$'>
+        <Files ~ '.php[s3-6]{0,1}$'>
             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>
@@ -226,29 +188,10 @@
         Options +Includes
 </tmpl_if>
 <tmpl_if name='php' op='==' value='no'>
-        <Files ~ '.php$'>
+        <Files ~ '.php[s3-6]{0,1}$'>
             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>
@@ -265,29 +208,10 @@
         Options +Includes
 </tmpl_if>
 <tmpl_if name='php' op='==' value='no'>
-        <Files ~ '.php$'>
+        <Files ~ '.php[s3-6]{0,1}$'>
             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>

--
Gitblit v1.9.1