Fix HTTP Basic Authentication for Apache/FastCGI/php-fpm setups (#3456)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user