Date: 09/04/99
- Next message: Bug Database: "[PHP-DEV] Bug #1886 Updated: Non-Blocking Socket / flush does not output"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] cvs: /php3/functions hg_comm.c"
- Next in thread: Rodent of Unusual Size: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Reply: Rodent of Unusual Size: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
I do have some troubles installing on a Windows NT Server (with Apache
1.3.6 Win32 pre-compiled distribution, PHP 3.0.11 and MySQL 3.22) the
tool we just developped under a SUN machine...
Everything works fine until we ask the user to get authentified:
We use the Header authentication method by mod_php:
**** extract ****
if(!isset($PHP_AUTH_USER)) {
Header("WWW-authenticate: basic realm=\"tool admin\"");
Header("HTTP/1.0 401 Unauthorized");
require("config.inc");
echo"<blockquote>\n
<br>\n
<message>
exit;
}
etc...
****************
It's OK with the SUN server (nothing is transmitted before the Header)
Under NT, we never see the authentication popup window, but we get the
following error message:
********************
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, xxxxxx and inform them of the
time the error occurred, and anything you might have done that may have caused
the error.
More information about this error may be available in the server error log.
**********************
And the server error log gives us:
**********************
[Thu Sep 02 19:37:15 1999] [error] [client xxxxxx] malformed header from
script. Bad header=HTTP/1.0 401 Unauthorized: d:/phpgroup/php3/php.exe
**********************
Someone suggested us to set the folowing header
Header("Status: 401 Unauthorized");
We finally get the popup window... without passing through...
another suggestion was to swapp the order of the two Header. No success!
If someone else has a good idea...
Thanks a lot
Pierre
-- 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: Bug Database: "[PHP-DEV] Bug #1886 Updated: Non-Blocking Socket / flush does not output"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] cvs: /php3/functions hg_comm.c"
- Next in thread: Rodent of Unusual Size: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Reply: Rodent of Unusual Size: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Urgent: Apache 1.3.6 and authentication bis"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

