From 3bc1e1d998fe33dfd3905926e0f8566eda4cc852 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 24 Mar 2014 08:32:42 -0400 Subject: [PATCH] Removed usage of AddHandler in apache vhost config - Reason: AddHandler fcgid-script .php does not only parse .php files, but all .php.* (e. g. .php.txt, .php.test etc.) --- install/tpl/apache_apps.vhost.master | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/install/tpl/apache_apps.vhost.master b/install/tpl/apache_apps.vhost.master index 6d6d4e2..e56b1d6 100644 --- a/install/tpl/apache_apps.vhost.master +++ b/install/tpl/apache_apps.vhost.master @@ -36,7 +36,9 @@ <Directory {tmpl_var name='apps_vhost_dir'}> 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'> Require all granted -- Gitblit v1.9.1