by Yana » Tue Mar 27, 2012 1:15 pm
Hi,
Please try to add the following line in your .htaccess
SetEnvIfNoCase Authorization "Basic ([a-z0-9=]+)" REDIRECT_REMOTE_AUTHORIZATION=$1
and add the following code in the edit_translation.php after "require_once 'config.php';" line
if (isset($_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]) && $_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]!='') {
$d = base64_decode($_SERVER["REDIRECT_REMOTE_AUTHORIZATION"]);
list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', $d);
}
If this doesn't help please try to add this one in .htaccess
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]