Bug #14964: safe mode & basic authentication

From: Date: Thu, 10 Jan 2002 13:24:13 +0000
Subject: Bug #14964: safe mode & basic authentication
Groups: php.dev 
Request: Send a blank email to php-dev+get-76481@lists.php.net to get a copy of this message
From: ceco@noxis.net Operating system: linux PHP version: 4.1.1 PHP Bug Type: Unknown/Other Function Bug description: safe mode & basic authentication the following problem, a script works flawlessly without safe mode, but when safe mode enabled, the row header("WWW-Authenticate: Basic realm=\"anything\""); causes very strange error: apache doesn't return anything (no headers, no content) - size 0 (i checked it even through telnet). when i comment this line, just the HTML message for the incorrect user or password is displayed (which should be displayed when cancel is hit by the user) the code below is header("HTTP/1.0 401 Unauthorized"); echo 'incorrect user or password'; die(); I'm not 100% percent sure, but I think it is not error of configuring php -- Edit bug report at: http://bugs.php.net/?id=14964&edit=1

« previous php.dev (#76481) next »