Date: 05/15/00
- Next message: steve <email protected>: "[PHP-DEV] PHP 4.0 Bug #4460: enable-trans-sid can not handle href="#link" syntax"
- Previous message: Andrej Falout: "RE: [PHP-DEV] PHP 4.0 Bug #4455: ifx_affected_rows() & ifx_num_rows() don't return correct numbers of rows."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: web <email protected>
Operating system: FreeBSD 3-stable
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Other
Bug description: When ErrorDocument 401 is set to a php file, Status 200 is returned not 401
This is an elaboration of bug #1820 with enough info to hopefully allow it to be fixed.
With apache, setting an ErrorDocument for 401 Auth Required to be a php file causes a status of 200 to be returned to the client instead of the correct status of 401.
This totally screws up password-protected websites!
Workaround is to manually set the 401 header with the header function.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: steve <email protected>: "[PHP-DEV] PHP 4.0 Bug #4460: enable-trans-sid can not handle href="#link" syntax"
- Previous message: Andrej Falout: "RE: [PHP-DEV] PHP 4.0 Bug #4455: ifx_affected_rows() & ifx_num_rows() don't return correct numbers of rows."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

