I wouldn't post this here but I guess others will find this problem in
front of them.

I've set up a symfony2 installation that supports http_basic
authentication by using an entity from my database. It works well with
my local installation (vanilla osx 10.6.7/apache 2.2.17) but when I
pushed the project on my shared hosting provider (dreamhost) I got
reauthentication requests (error 401) although I did provide the
correct credentials.

After a bit of googling around I found out that fast_cgi is stripping
authentication headers on purpose and that I should add

[E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]

on my .htaccess file, which I did but it didn't work. On an other
google search someone posted I should try

[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]

but this didn't do the trick either. So I decided to use the control
panel provided by dreamhost itself and disable the fast_cgi and use
the simple cgi support. I tried the same flags once more but I still
don't get to pass the authentication step.

Anyone had the same issue and found a solution?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to