From 896465f4daf2c8e22202ee31446f3fbf8b296756 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Wed, 11 Dec 2013 03:10:50 -0500
Subject: [PATCH] Changed order of mod_php and fcgi configuration in apps vhost.

---
 server/conf/apache_apps.vhost.master |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/server/conf/apache_apps.vhost.master b/server/conf/apache_apps.vhost.master
index 2dea611..ff6d4da 100644
--- a/server/conf/apache_apps.vhost.master
+++ b/server/conf/apache_apps.vhost.master
@@ -15,6 +15,17 @@
     SetHandler None
   </FilesMatch>
   
+  <IfModule mod_php5.c>
+    DocumentRoot {apps_vhost_dir}
+    AddType application/x-httpd-php .php
+    <Directory {apps_vhost_dir}>
+      Options FollowSymLinks
+      AllowOverride None
+      Order allow,deny
+      Allow from all
+    </Directory>
+  </IfModule>
+  
   <IfModule mod_fcgid.c>
     DocumentRoot {apps_vhost_dir}
     SuexecUserGroup ispapps ispapps
@@ -23,17 +34,6 @@
       AllowOverride AuthConfig Indexes Limit Options FileInfo
       AddHandler fcgid-script .php
       FCGIWrapper {apps_vhost_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php
-      Order allow,deny
-      Allow from all
-    </Directory>
-  </IfModule>
-  
-  <IfModule mod_php5.c>
-    DocumentRoot {apps_vhost_dir}
-    AddType application/x-httpd-php .php
-    <Directory {apps_vhost_dir}>
-      Options FollowSymLinks
-      AllowOverride None
       Order allow,deny
       Allow from all
     </Directory>

--
Gitblit v1.9.1