Closed
Description
I am using Symfony 2.5.7 under PHP-PFM + Apache 2.4 under Ubuntu 14.04 (a simple Vagrant machine created with Puphpet.com).
The "basic_auth" is not working under this environment, even if using latest .htaccess file from master branch (in particular adding the lines: https://github.com/symfony/symfony-standard/blob/master/web/.htaccess#L21-23).
The solution is to correctly configure the Apache VirtualHost by adding:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
as mentioned on StackOverflow (http://stackoverflow.com/a/17490827/435956).
Please update the documentation and the example provided online (http://symfony.com/doc/master/cookbook/configuration/web_server_configuration.html#using-mod-proxy-fcgi-with-apache-2-4)