# Make the Authorization header of the proctoring service callback (api.php)
# available to PHP when it runs as CGI/FastCGI. Both directives are guarded so
# that an Apache without the module still serves the plugin (an unguarded
# RewriteEngine directive makes every plugin page fail with HTTP 500).
<IfModule mod_setenvif.c>
    SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
