From d0c4d5616a67ed12f0c5b81940cc9be8ab501995 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 11 Jun 2015 20:59:41 +0200 Subject: [PATCH] adjust fastcgi conf for php-fpm when using apache-2.4 Signed-off-by: Michael Kaufmann (d00p) --- lib/configfiles/gentoo.xml | 20 ++++++++++++++++++-- lib/configfiles/trusty.xml | 20 ++++++++++++++++++-- lib/configfiles/wheezy.xml | 20 ++++++++++++++++++-- 3 files changed, 54 insertions(+), 6 deletions(-) diff --git a/lib/configfiles/gentoo.xml b/lib/configfiles/gentoo.xml index db0f1b24..6f3deb08 100644 --- a/lib/configfiles/gentoo.xml +++ b/lib/configfiles/gentoo.xml @@ -68,8 +68,24 @@ - //service[@type='http']/daemon[@name='apache'][@version='2.2'] - + //service[@type='http']/general/commands + + {{settings.phpfpm.enabled}} + + + FastCgiIpcDir + + + Require all granted + Require env REDIRECT_STATUS + + +]]> + + + + diff --git a/lib/configfiles/trusty.xml b/lib/configfiles/trusty.xml index 65df233d..b91656df 100644 --- a/lib/configfiles/trusty.xml +++ b/lib/configfiles/trusty.xml @@ -68,8 +68,24 @@ - //service[@type='http']/daemon[@name='apache'][@version='2.2'] - + + //service[@type='http']/general/commands + + {{settings.phpfpm.enabled}} + + + FastCgiIpcDir + + + Require all granted + Require env REDIRECT_STATUS + + +]]> + + + diff --git a/lib/configfiles/wheezy.xml b/lib/configfiles/wheezy.xml index 62c0d741..447ecd4e 100644 --- a/lib/configfiles/wheezy.xml +++ b/lib/configfiles/wheezy.xml @@ -68,8 +68,24 @@ - //service[@type='http']/daemon[@name='apache'][@version='2.2'] - + + //service[@type='http']/general/commands + + {{settings.phpfpm.enabled}} + + + FastCgiIpcDir + + + Require all granted + Require env REDIRECT_STATUS + + +]]> + + +