Merge pull request #18194 from RealRancor/proxy_fcgi

Add mod_proxy_fcgi to .htaccess
This commit is contained in:
Thomas Müller 2016-02-05 13:29:41 +01:00
commit e6a1e78149
1 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,12 @@
<IfModule mod_headers.c> <IfModule mod_headers.c>
<IfModule mod_fcgid.c> <IfModule mod_setenvif.c>
<IfModule mod_setenvif.c> <IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule> </IfModule>
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
</IfModule> </IfModule>
<IfModule mod_env.c> <IfModule mod_env.c>