|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-03-21 20:19 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 00:00:02 2025 UTC |
Hi All, Whenever I use this test.php3 <? header("HTTP/1.1 401 Authorization Required"); header("WWW-Authenticate: Basic realm=\"SQL\""); ?> (order doesn't matter here, i tried) I get (using telnet www 80): HTTP/1.1 401 Authorization Required Date: Fri, 20 Mar 1998 11:54:15 GMT Server: Apache/1.2.5 Ben-SSL/1.13 WWW-Authenticate: Basic realm="502 SQL" Connection: close Content-Type: text/html Connection closed by foreign host. In other words: the UID of the server process (with suexec, this is 502) is in the auth realm. Using a plain .htaccess file, this is not the case. As you can see I'm using Apache 1.2.5 with SSL hacks (Apache-SSL). This is through a non-SLL connection. Furthermore, PHP3.0b6 is linked agains MySQL3.21...mumble I've looked through the php and apache source but couldn't find anything useful. Thanks, Laurens van Alphen alphen@craxx.com