#21326 [Opn]: Create a PHP_AUTH_* on/off directive

From: Date: Thu, 02 Jan 2003 05:40:27 +0000
Subject: #21326 [Opn]: Create a PHP_AUTH_* on/off directive
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28896@lists.php.net to get a copy of this message
ID: 21326 Updated by: philip@php.net -Summary: AUTH Info behaviour Reported By: luci@conexim.com.au Status: Open Bug Type: Feature/Change Request Operating System: RHL7.3 PHP Version: 4.3.0 New Comment: This was discussed quite a bit and that change was decided upon. In the future there may be a directive to turn this on or off despite safe_mode. So, I'm marking this as a feature request for that and changing the title to reflect it. And for the record, the docs had forever noted that mixing the two should never work despite the safe_mode setting. Regardless, you can always use REMOTE_USER to get the username so it sounds like that's what you want to do. It is available regardless of safe_mode setting. Previous Comments: ------------------------------------------------------------------------ [2003-01-01 22:34:51] luci@conexim.com.au Quoting 4.3.0 changelog: > Make PHP_AUTH_* variables not available in safe mode under Apache when an external basic auth mechanism is used. (Philip) You cannot just change this behaviour. I don't think anyone asked for this either. While the reasoning for this change seems to be that you can't mix 2 authentication modes, you may still wish to authenticate using basic external auth, and then get the AUTH_USER name passed to PHP for further processing/dynamic content generation. Please restore old behaviour. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21326&edit=1

« previous php.bugs (#28896) next »