Header calling HTTP Authenticate issue
| From: | Gaylen Fraley | Date: | Fri, 01 Mar 2002 05:38:45 +0000 |
| Subject: | Header calling HTTP Authenticate issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86717@lists.php.net to get a copy of this message | ||
The following code returns a 404 error on a friends host site. The
environment is Apache/1.3.23 (Unix) mod_layout/3.0.4 PHP/4.1.1 rus/PL30.11
running under FreeBSD as2.centre.ru 4.2-RELEASE FreeBSD 4.2-RELEASE #0:
<?php
header("WWW-Authenticate: Basic realm=myRealm");
header("HTTP/1.0 401 Unauthorized");
?>
Other scripts work just fine from the same directory, so I know php is
installed and working. Has anyone else had an issue like this? If so, what
could be the problem?
Thanks.
--
Gaylen
PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/