Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealRancor <Fisch.666@gmx.de>2015-08-11 11:55:57 +0300
committerRealRancor <Fisch.666@gmx.de>2015-11-18 00:01:36 +0300
commite30e6710dcf63fd3740cbe04f4dbe472d488279f (patch)
tree9b40b5ae945bdb44c51854dc0b3239145549f2d2
parent20c251a5755f7c218df2cafe9d5ba64036096815 (diff)
Add mod_proxy_fcgi and mod_fastcgi to .htaccess
-rw-r--r--.htaccess7
1 files changed, 5 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 918fcbd18e8..b68adb43412 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,10 +1,13 @@
# Version: 9.0.0
<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>