Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]


If IF Apache is configured to use Virtual Hosts, adding above rules to .htaccess will not work.

...

Code Block
<VirtualHost> 
# ... 
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 
# ... 
</VirtualHost>

IF your server is using Apache with CGI and mod_suexec, Apache may strip the custom header including  HTTP_AUTHORIZATION.

In this case, you can change to another PHP handler such as suPHP, LSAPI, etc.


In case you followed our solution but the issue still happens, please feel free to submit tickets in our Client Area in order for us to help take further investigation.

...