PHP Snippet 1:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
PHP Snippet 2:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
PHP Snippet 3:
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
PHP Snippet 4:
<VirtualHost>
# ...
Include "/etc/apache2/conf.d/userdata/*.conf"
# ...
</VirtualHost>
PHP Snippet 5:
nano /etc/apache2/conf.d/userdata/{username}.conf
PHP Snippet 6:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
PHP Snippet 7:
service httpd restart