From b0f818efec0b74741d6fa53d0e86a95065d4e2d1 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Fri, 12 Feb 2016 11:06:36 -0500
Subject: [PATCH] Merge branch 'stable-3.1'

---
 server/conf/apache_apps.vhost.master |   28 ++++++++++++++++++----------
 1 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/server/conf/apache_apps.vhost.master b/server/conf/apache_apps.vhost.master
index 49f829a..7d6d665 100644
--- a/server/conf/apache_apps.vhost.master
+++ b/server/conf/apache_apps.vhost.master
@@ -10,23 +10,29 @@
 <VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}>
   ServerAdmin webmaster@localhost
   {tmpl_var name='apps_vhost_servername'}
-  
+
   <FilesMatch "\.ph(p3?|tml)$">
     SetHandler None
   </FilesMatch>
-  
+
+  {tmpl_if name="enable_spdy" op="==" value="y"}
+  <IfModule spdy_module>
+	SpdyEnabled on
+  </IfModule>
+  {/tmpl_if}
+
   <IfModule mod_php5.c>
     DocumentRoot {tmpl_var name='apps_vhost_dir'}
     AddType application/x-httpd-php .php
     <Directory {tmpl_var name='apps_vhost_dir'}>
 		Options FollowSymLinks
 		AllowOverride None
-		{tmpl_if name='apache_version' op='>' value='2.2' format='version'}
+		<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
 		Require all granted
-		{tmpl_else}
+		<tmpl_else>
 		Order allow,deny
 		Allow from all
-		{/tmpl_if}
+		</tmpl_if>
     </Directory>
   </IfModule>
   
@@ -34,16 +40,18 @@
     DocumentRoot {tmpl_var name='apps_vhost_dir'}
     SuexecUserGroup ispapps ispapps
     <Directory {tmpl_var name='apps_vhost_dir'}>
-		Options Indexes FollowSymLinks MultiViews +ExecCGI
+		Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
 		AllowOverride AuthConfig Indexes Limit Options FileInfo
-		AddHandler fcgid-script .php
+		<FilesMatch "\.php$">
+			SetHandler fcgid-script
+		</FilesMatch>
 		FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php
-		{tmpl_if name='apache_version' op='>' value='2.2' format='version'}
+		<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
 		Require all granted
-		{tmpl_else}
+		<tmpl_else>
 		Order allow,deny
 		Allow from all
-		{/tmpl_if}
+		</tmpl_if>
     </Directory>
   </IfModule>
 

--
Gitblit v1.9.1