Permalink
Browse files

feature #4528 Update web_server_configuration.rst (thePanz)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4528).

Discussion
----------

Update web_server_configuration.rst

Fixes for issue #4527

Commits
-------

f70dbf1 Update web_server_configuration.rst
0065791 Update web_server_configuration.rst
  • Loading branch information...
weaverryan committed Dec 7, 2014
2 parents 3b1611d + f70dbf1 commit 71495e81eebd61fba8bdb93da5018163cb768fb3
Showing with 5 additions and 0 deletions.
  1. +5 −0 cookbook/configuration/web_server_configuration.rst
@@ -127,6 +127,11 @@ directive to pass requests for PHP files to PHP FPM:
ServerName domain.tld
ServerAlias www.domain.tld
# Uncomment the following line to force Apache to pass the Authorization
# header to PHP: required for "basic_auth" under PHP-FPM and FastCGI
#
# SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/web/$1
DocumentRoot /var/www/project/web

0 comments on commit 71495e8

Please sign in to comment.