Fix HTTP Basic Authentication for Apache/FastCGI/php-fpm setups (#3456)
This commit is contained in:
parent
0ccf9a973a
commit
9e85d0f6e7
|
|
@ -1,3 +1,10 @@
|
|||
# Pass HTTP Authorization header via environment variable to PHP backend
|
||||
# to make HTTP Basic Authentication work for Apache/FastCGI/php-fpm
|
||||
# setups (required to authenticate over the API)
|
||||
<IfModule mod_setenvif.c>
|
||||
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
Options -MultiViews
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue