...
If Apache is configured to use Virtual Hosts, adding above rules to .htaccess will not work. Instead, this configuration must be added directly to Apache's configuration:
Code Block |
---|
<VirtualHost> # ... RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] # ... </VirtualHost> |
...