Skip to content

Commit 0065791

Browse files
thePanzweaverryan
authored andcommitted
Update web_server_configuration.rst
Fixes for issue #4527 #4527
1 parent 3b1611d commit 0065791

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ 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
132+
130133
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/project/web/$1
131134
132135
DocumentRoot /var/www/project/web

0 commit comments

Comments
 (0)