I have some apache web apps that authenticate using the mod_auth_mellon plugin for Apache httpd. These apps look for the REMOTE_USER parameter. They do not authenticate correctly and show that the user login as a long string, for example,
REMOTE_USER = AAdzZWNyZXQxwypwLNxGvYGHPp9bmFZFb+SytKUa9JEY3mCkI2ib2CGTzXvhSQ9uufeI37EJyS5q8EIwzMBZiyZ+hVV2/fIeTXZLBRgl3rmNdRr0K2BGZQPm5yevNEf+0LRJhCOYkS0wJA4V4qzMwXHXldi9xOkvwRHPiYp9
The value should be
REMOTE_USER=username
where username is the uid of the user
I can see this by using a PHP page with the following code.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
$key_value) {
print $key_name . " = " . $key_value . "<br>";
}
?>
</body>
</html>
This returns a long list of parameters, but REMOTE_USER and PHP_AUTH_USER show as
REMOTE_USER = AAdzZWNyZXQxwypwLNxGvYGHPp9bmFZFb+SytKUa9JEY3mCkI2ib2CGTzXvhSQ9uufeI37EJyS5q8EIwzMBZiyZ+hVV2/fIeTXZLBRgl3rmNdRr0K2BGZQPm5yevNEf+0LRJhCOYkS0wJA4V4qzMwXHXldi9xOkvwRHPiYp9
and
PHP_AUTH_USER = AAdzZWNyZXQxwypwLNxGvYGHPp9bmFZFb+SytKUa9JEY3mCkI2ib2CGTzXvhSQ9uufeI37EJyS5q8EIwzMBZiyZ+hVV2/fIeTXZLBRgl3rmNdRr0K2BGZQPm5yevNEf+0LRJhCOYkS0wJA4V4qzMwXHXldi9xOkvwRHPiYp9
I need to know what to do to correct this.