[arch-commits] Commit in php/trunk (PKGBUILD apache.conf)
Pierre Schmitz
pierre at archlinux.org
Mon Apr 18 10:42:16 UTC 2011
Date: Monday, April 18, 2011 @ 06:42:15
Author: pierre
Revision: 120015
Restrict apache module to .php files (see FS#23815)
Modified:
php/trunk/PKGBUILD
php/trunk/apache.conf
-------------+
PKGBUILD | 4 ++--
apache.conf | 10 +++++++---
2 files changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-18 10:29:25 UTC (rev 120014)
+++ PKGBUILD 2011-04-18 10:42:15 UTC (rev 120015)
@@ -24,7 +24,7 @@
'php-tidy'
'php-xsl')
pkgver=5.3.6
-pkgrel=2
+pkgrel=3
_suhosinver=${pkgver}-0.9.10
arch=('i686' 'x86_64')
license=('PHP')
@@ -40,7 +40,7 @@
md5sums=('2286f5a82a6e8397955a0025c1c2ad98'
'fff1a38877142f3ae6036dbe5a85d0a6'
'39eaa70d276fc3d45d6bcf6cd5ae1106'
- '96ca078be6729b665be8a865535a97bf'
+ 'dec2cbaad64e3abf4f0ec70e1de4e8e9'
'b01be5f816988fcee7e78225836e5e27'
'd50ff349da08110a7cc8c691ce2d0423'
'07c4e412909ac65a44ec90e7a2c4bade')
Modified: apache.conf
===================================================================
--- apache.conf 2011-04-18 10:29:25 UTC (rev 120014)
+++ apache.conf 2011-04-18 10:42:15 UTC (rev 120015)
@@ -3,7 +3,11 @@
<IfModule dir_module>
<IfModule php5_module>
DirectoryIndex index.php index.html
- AddHandler application/x-httpd-php .php
- AddHandler application/x-httpd-php-source .phps
+ <FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+ </FilesMatch>
+ <FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+ </FilesMatch>
</IfModule>
-</IfModule>
\ No newline at end of file
+</IfModule>
More information about the arch-commits
mailing list