diff --git a/cookbook/configuration/web_server_configuration.rst b/cookbook/configuration/web_server_configuration.rst index b498d155088..bdd1644f0f0 100644 --- a/cookbook/configuration/web_server_configuration.rst +++ b/cookbook/configuration/web_server_configuration.rst @@ -41,6 +41,12 @@ are: ``AllowOverride None`` and implement the rewrite rules in the ``web/.htaccess`` into the virtualhost config. +If you are using **php-cgi**, Apache does not pass HTTP basic username and +password to PHP by default. To work around this limitation, you should use the +following configuration snippet: + + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + Nginx -----