- php-fpm: enable http authorization headers
This commit is contained in:
Remi Collet 2015-09-30 13:11:01 +02:00
parent 98ce5ad038
commit 41c7e6271c
2 changed files with 9 additions and 1 deletions

View File

@ -44,6 +44,9 @@ DirectoryIndex index.php
# Redirect to local php-fpm if mod_php is not available
<IfModule !mod_php5.c>
# Enable http authorization headers
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
</FilesMatch>

View File

@ -64,7 +64,7 @@
%global db_devel libdb-devel
%endif
%global rcver RC1
#global rcver RC1
%global rpmrel 1
Summary: PHP scripting language for creating dynamic web sites
@ -1484,6 +1484,11 @@ rm -f README.{Zeus,QNX,CVS-RULES}
%changelog
* Wed Sep 30 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-1
- Update to 5.6.14
http://www.php.net/releases/5_6_14.php
- php-fpm: enable http authorization headers
* Thu Sep 17 2015 Remi Collet <remi@fedoraproject.org> 5.6.14-0.1.RC1
- update to 5.6.14RC1