diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-05 13:29:41 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-05 13:29:41 +0100 |
commit | e6a1e7814970cc108a7ad45f8c33a717895a67af (patch) | |
tree | 00bdf852a41419b31b24a568668ccf72abecbb0f /.htaccess | |
parent | 7dde2c773f4efee0094176fe76b2c64f4f74a1ea (diff) | |
parent | e30e6710dcf63fd3740cbe04f4dbe472d488279f (diff) | |
download | nextcloud-server-e6a1e7814970cc108a7ad45f8c33a717895a67af.tar.gz nextcloud-server-e6a1e7814970cc108a7ad45f8c33a717895a67af.zip |
Merge pull request #18194 from RealRancor/proxy_fcgi
Add mod_proxy_fcgi to .htaccess
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess index 4a4adce144c..725efa0971a 100644 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,12 @@ <IfModule mod_headers.c> - <IfModule mod_fcgid.c> - <IfModule mod_setenvif.c> + <IfModule mod_setenvif.c> + <IfModule mod_fcgid.c> SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION </IfModule> + <IfModule mod_proxy_fcgi.c> + SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1 + </IfModule> </IfModule> <IfModule mod_env.c> |