[php] fix php.conf to allow MultiViews managed by php scripts

Remi Collet remi at fedoraproject.org
Sat Jan 12 10:55:18 UTC 2013


commit 667d2252f1658746691599a32c920ccb798f7e4d
Author: Remi Collet <remi at fedoraproject.org>
Date:   Sat Jan 12 11:55:09 2013 +0100

    fix php.conf to allow MultiViews managed by php scripts

 php.conf |    2 ++
 php.spec |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/php.conf b/php.conf
index 075ccaa..201efb7 100644
--- a/php.conf
+++ b/php.conf
@@ -4,6 +4,8 @@
 <FilesMatch \.php$>
     SetHandler application/x-httpd-php
 </FilesMatch>
+# Need for Multiviews
+AddType text/html .php
 
 #
 # Add index.php to the list of files that will be served as directory
diff --git a/php.spec b/php.spec
index 26b3030..1339727 100644
--- a/php.spec
+++ b/php.spec
@@ -58,7 +58,7 @@
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
 Version: 5.4.11
-Release: 0.1.rc1%{?dist}
+Release: 0.2.rc1%{?dist}
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
 # TSRM is licensed under BSD
@@ -1403,6 +1403,9 @@ fi
 
 
 %changelog
+* Thu Jan 10 2013 Remi Collet <rcollet at redhat.com> 5.4.11-0.2.RC1
+- fix php.conf to allow MultiViews managed by php scripts
+
 * Thu Jan 10 2013 Remi Collet <rcollet at redhat.com> 5.4.11-0.1.RC1
 - update to 5.4.11RC1
 


More information about the scm-commits mailing list