8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0065791 commit f70dbf1Copy full SHA for f70dbf1
cookbook/configuration/web_server_configuration.rst
@@ -127,8 +127,10 @@ directive to pass requests for PHP files to PHP FPM:
127
ServerName domain.tld
128
ServerAlias www.domain.tld
129
130
- # Force Apache to pass the Authorization header to PHP
131
- SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
+ # Uncomment the following line to force Apache to pass the Authorization
+ # header to PHP: required for "basic_auth" under PHP-FPM and FastCGI
132
+ #
133
+ # SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
134
135
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/web/$1
136
0 commit comments