diff options
| author | 2019-01-02 21:46:21 +0100 | |
|---|---|---|
| committer | 2019-01-02 21:46:21 +0100 | |
| commit | 30327efecd4fa7f4131cd0d7a5ac80b460af95d1 (patch) | |
| tree | c95cc258c85304954dafab03be2eb84590361d81 /p/api | |
| parent | a0f1b76918e7ce038ab8ea490d9f5ed0e625831e (diff) | |
| parent | a6623b7b2fa3f026a0ea30e49b1a221f7a4a8e55 (diff) | |
Merge branch 'FreshRSS/dev' into FreshRSS/dev-1.14.0
Diffstat (limited to 'p/api')
| -rw-r--r-- | p/api/.htaccess | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/p/api/.htaccess b/p/api/.htaccess index 41b653d96..937983ec9 100644 --- a/p/api/.htaccess +++ b/p/api/.htaccess @@ -1,4 +1,9 @@ -<IfModule mod_rewrite.c> - RewriteEngine on - RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] +<IfModule mod_setenvif.c> + SetEnvIf "^Authorization$" "(.*)" HTTP_AUTHORIZATION=$1 +</IfModule> +<IfModule !mod_setenvif.c> + <IfModule mod_rewrite.c> + RewriteEngine on + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + </IfModule> </IfModule> |
