From 5fe413ad28790406c0acfabc0fcc256d051aa76a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 26 Apr 2016 23:01:50 -0400 Subject: Added workaround in documentation for API and Apache+php-fpm --- doc/faq.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/faq.markdown b/doc/faq.markdown index 8e8dab63..879b070f 100644 --- a/doc/faq.markdown +++ b/doc/faq.markdown @@ -49,6 +49,18 @@ php_value arg_separator.output "&" Otherwise Kanboard will try to override the value directly in PHP. +Authentication failure with the API and Apache + PHP-FPM +-------------------------------------------------------- + +php-cgi under Apache does not pass HTTP Basic user/pass to PHP by default. +For this workaround to work, add these lines to your `.htaccess` file: + +``` +RewriteCond %{HTTP:Authorization} ^(.+)$ +RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] +``` + + Known issues with eAccelerator ------------------------------ -- cgit v1.2.3