Skip to content

Commit

Permalink
feature #4528 Update web_server_configuration.rst (thePanz)
Browse files Browse the repository at this point in the history
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 71495e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cookbook/configuration/web_server_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71495e8

Please sign in to comment.