note 7643 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 21:37:44 +0000 |
| Subject: | note 7643 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19739@lists.php.net to get a copy of this message | ||
To all of those wanting to use Basic Authentication and are getting 'Internal Error' when
using the line:
header('HTTP/1.0 401 Unauthorized');
Use instead: Header('status: 401 Unauthorized');
And everything will start working without changing the default Apache set-up.
Phillip.