note 18870 rejected from function.header by hholzgra

From: Date: Tue, 12 Mar 2002 14:05:23 +0000
Subject: note 18870 rejected from function.header by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27658@lists.php.net to get a copy of this message
Hi, i've got a problem with the headers: Header("WWW-Authenticate: Basic realm=\"Login Section\""); Header("HTTP/1.0 401 Unauthorized"); I get a Internal Server Error (500) when i try to open a page with this lines in it... PHP is compiled as an CGI with suEXEC support in it. The error i get is: [Thu Feb 7 20:10:10 2002] [error] [client 62.131.204.236] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: /home/users/peter/admin/login.php Does someone know how to solve this?

« previous php.notes (#27658) next »