hy,
mein PHP-Programm lief ohne Probleme mit Easy-PHP.
Nun hab ich alles neu installiert mit PHP-Triad und bekomme beim Aufruf meines Scripts folgende Fehlermeldung:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost 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.
In der error log:
[Thu Oct 03 19:20:32 2002] [error] [client 192.168.50.31] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/apache/php/php.exe
Der Inhalt meines Scriptes:
<?php
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
}
?>
Hat jemand eine Idee?
thx. pseo
mein PHP-Programm lief ohne Probleme mit Easy-PHP.
Nun hab ich alles neu installiert mit PHP-Triad und bekomme beim Aufruf meines Scripts folgende Fehlermeldung:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost 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.
In der error log:
[Thu Oct 03 19:20:32 2002] [error] [client 192.168.50.31] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/apache/php/php.exe
Der Inhalt meines Scriptes:
<?php
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
}
?>
Hat jemand eine Idee?
thx. pseo
Kommentar