Fix CGIPassAuth (#1593)

environments/ppa-mbqj77/deployments/584
Xavier Guimard 7 years ago
parent 3cd14656f5
commit d222bd5b4b
  1. 7
      _example/etc/portal-apache2.4.conf
  2. 7
      _example/etc/portal-apache2.X.conf
  3. 7
      _example/etc/portal-apache2.conf

@ -32,7 +32,12 @@
# Note that Content-Security-Policy header is generated by portal itself # Note that Content-Security-Policy header is generated by portal itself
<Files *.fcgi> <Files *.fcgi>
SetHandler fcgid-script SetHandler fcgid-script
#CGIPassAuth on # For Authorization header to be passed, please uncomment one of the following:
# for Apache >= 2.4.13
#CGIPassAuth On
# for Apache < 2.4.13
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Options +ExecCGI Options +ExecCGI
header unset Lm-Remote-User header unset Lm-Remote-User
</Files> </Files>

@ -38,7 +38,12 @@
# Note that Content-Security-Policy header is generated by portal itself # Note that Content-Security-Policy header is generated by portal itself
<Files *.fcgi> <Files *.fcgi>
SetHandler fcgid-script SetHandler fcgid-script
#CGIPassAuth on # For Authorization header to be passed, please uncomment one of the following:
# for Apache >= 2.4.13
#CGIPassAuth On
# for Apache < 2.4.13
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Options +ExecCGI Options +ExecCGI
header unset Lm-Remote-User header unset Lm-Remote-User
</Files> </Files>

@ -33,7 +33,12 @@
# Note that Content-Security-Policy header is generated by portal itself # Note that Content-Security-Policy header is generated by portal itself
<Files *.fcgi> <Files *.fcgi>
SetHandler fcgid-script SetHandler fcgid-script
#CGIPassAuth on # For Authorization header to be passed, please uncomment one of the following:
# for Apache >= 2.4.13
#CGIPassAuth On
# for Apache < 2.4.13
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Options +ExecCGI Options +ExecCGI
header unset Lm-Remote-User header unset Lm-Remote-User
</Files> </Files>

Loading…
Cancel
Save