ID: 13115
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Apache related
Operating System: RedHat Linux 7.1
PHP Version: 4.0.4pl1
New Comment:

That's how it is supposed to work. The browser accesses the page, get's a not 
authorized error (401), and, if the user has already entered the authentication 
incredents, requests the page again with the auth data; else you will be prompted for 
them and then the page is requested again.

Not a PHP bug, bogusified.

- Markus

Previous Comments:
------------------------------------------------------------------------

[2001-09-03 15:18:29] [EMAIL PROTECTED]

given: a directory secured with http basic authentication and only accessible by using 
username and password supplied in a password and a group file. The Access.Logfile 
shows 2 requests for the same page, with the first being denied by 401 and the second 
with a correct reply (200)
The PHP script runs twice, with the first Output being garbaged.

Reproduced on Standard Redhat rpm installation as well as on specific compilation. 
Always as php-apache-module

here 2 Lines from the log

1.1.1.1 - - [03/Sep/2001:19:02:54 +0000] "POST /_admin_/phpQLAdmin/domain_add.php 
HTTP/1.0" 401 397 "http://myserver/_admin_/phpQLAdmin/home.php"; "Mozilla/4.0 
(compatible; MSIE 5.01; Windows NT 5.0)"
1.1.1.1 - admin [03/Sep/2001:19:02:55 +0000] "POST /_admin_/phpQLAdmin/domain_add.php 
HTTP/1.0" 200 352 "http://myserver/_admin_/phpQLAdmin/home.php"; "Mozilla/4.0 
(compatible; MSIE 5.01; Windows NT 5.0)



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13115&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to