Re: Header() in authentificate-script under Win2k

From: Date: Thu, 21 Sep 2000 23:19:15 +0000
Subject: Re: Header() in authentificate-script under Win2k
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2778@lists.php.net to get a copy of this message
Hi > Is there anybody who can run Header() function in Apache_1.3.12 + > PHP_4.0.2 + Win2k ? > I always get this error message saying: > "The server encountered an internal error or misconfiguration and was > unable to complete your request." > ... and this is in error.log: > "malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: > f:/program files/php/php.exe" > > Bye It is probably just a typing error in your code or as I've read somewhere, you cannot do the HTTP authentication with PHP with the CGI version of PHP. I believe you need to install php as an Apache module. However, I am using all the other header() features and they work using the same setup as you. Regards EF Not everything in black and white makes sense

« previous php.windows (#2778) next »