> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hodi.host/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# What should I do if the 'Authorization' header is missing?

The `Authorization` header is not accessible by default with PHP-FPM (the solution we use to speed up PHP), but there is an easy way to retrieve it.

Simply add the following line to your `.htaccess` file:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1**Note:** Several frameworks already include such a line (or an equivalent line) in their default configuration.

---
Along the same lines, if you expect to find the `PHP_AUTH_USER` or `PHP_AUTH_PW` variables, they are not present either, but you can recreate them by adding this snippet of code at the beginning of the PHP files that need these variables:

list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));