Hello all.
I've been bitten twice by this, so I thought to share the solution.
The problem is that, if you use fastcgi(+suexec) your php scripts won't see $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] and scripts that rely on it (obviously) won't work and keep asking credentials.
Just add this rewrite rule in your .htaccess :
Code:
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
and all works again.
(credits to the post by Dmitry in
http://bugs.php.net/bug.php?id=35752 ).
Recent comments
1 day 6 min ago
1 day 11 min ago
1 day 5 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 52 min ago
2 days 4 hours ago
2 days 6 hours ago