summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-26 23:01:50 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-26 23:01:50 -0400
commit5fe413ad28790406c0acfabc0fcc256d051aa76a (patch)
treeb8fb560cef945076c3c0c54335b46ecdb8a56b10
parent1936a74cb3affef4f439c695d7e3c9eacc5a9aae (diff)
Added workaround in documentation for API and Apache+php-fpm
-rw-r--r--doc/faq.markdown12
1 files changed, 12 insertions, 0 deletions
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
------------------------------