From a86ba0556d460a35a224026d8ed552d1a4bf34bd Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 Feb 2015 12:00:41 +1100 Subject: [PATCH] Update .htaccess Fixes the problem whereby if PHP is being ran through any sort of CGI wrapper (for example, fcgi into php-fpm), the php_flag directives will break apache. --- public/.htaccess | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index bc1a882..397b6b8 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -10,9 +10,11 @@ RewriteRule ^.*$ index.php [NC,L] Options -Indexes # PHP config -php_flag magic_quotes_gpc off -php_flag register_globals off -php_flag short_open_tag on + + php_flag magic_quotes_gpc off + php_flag register_globals off + php_flag short_open_tag on + # Apache 2 gzip SetOutputFilter DEFLATE