Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f70dbf1

Browse filesBrowse files
thePanzweaverryan
authored andcommitted
Update web_server_configuration.rst
Commented the fix for PHP-FPM in Apache VirtualHost More detailed comments
1 parent 0065791 commit f70dbf1
Copy full SHA for f70dbf1

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎cookbook/configuration/web_server_configuration.rst

Copy file name to clipboardExpand all lines: cookbook/configuration/web_server_configuration.rst
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ directive to pass requests for PHP files to PHP FPM:
127127
ServerName domain.tld
128128
ServerAlias www.domain.tld
129129
130-
# Force Apache to pass the Authorization header to PHP
131-
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
130+
# Uncomment the following line to force Apache to pass the Authorization
131+
# header to PHP: required for "basic_auth" under PHP-FPM and FastCGI
132+
#
133+
# SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
132134
133135
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/web/$1
134136

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.