note 5793 deleted from header by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 15:16:31 +0000 |
| Subject: | note 5793 deleted from header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1157@lists.php.net to get a copy of this message | ||
I've encountered an extremely obnoxious problem, which I might've anticipated: one of the
servers a client's site is hosted on uses PHP as a CGI executable... I was using header() to
simulate HTTP Basic authentication. Unfortunately, it would seem, by the time php.cgi gets around to
sending 'HTTP/1.0 401 Unauthorized', or whatever other header, Apache has already reached
201 status. This would not usually be a problem if not for the fact I am authenticating from a
database. And no, the Apache server is not running mod_mysql_auth, nor mod_auth_db.