aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-05 13:29:41 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-05 13:29:41 +0100
commite6a1e7814970cc108a7ad45f8c33a717895a67af (patch)
tree00bdf852a41419b31b24a568668ccf72abecbb0f /.htaccess
parent7dde2c773f4efee0094176fe76b2c64f4f74a1ea (diff)
parente30e6710dcf63fd3740cbe04f4dbe472d488279f (diff)
downloadnextcloud-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--.htaccess7
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>