aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorRealRancor <Fisch.666@gmx.de>2015-08-11 10:55:57 +0200
committerRealRancor <Fisch.666@gmx.de>2015-11-17 22:01:36 +0100
commite30e6710dcf63fd3740cbe04f4dbe472d488279f (patch)
tree9b40b5ae945bdb44c51854dc0b3239145549f2d2 /.htaccess
parent20c251a5755f7c218df2cafe9d5ba64036096815 (diff)
downloadnextcloud-server-e30e6710dcf63fd3740cbe04f4dbe472d488279f.tar.gz
nextcloud-server-e30e6710dcf63fd3740cbe04f4dbe472d488279f.zip
Add mod_proxy_fcgi and mod_fastcgi to .htaccess
Diffstat (limited 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>