Fix - PHP-FPM and Authorization Headers

Just FYI, if anyone is using php-fpm and getting unexpected unauthorized responses using the API, it could be because Apache doesn’t pass the auth headers to the external CGI process by default.

I had to add the following to my Apache config to get things to work:

SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1

hello!

this is correct, the fix must be a software one tough :slight_smile: we logged this a few weeks ago:

Uploading…

please remember we dont know what happens with FPM in detail, we want to use it but we need to keep testing it … so do expect all sort of behaviours!!

esteban

https://github.com/eramba/eramba_v2/issues/2060