Re: PHP Authentication ( Header )

From: Date: Mon, 03 Jul 2000 23:39:36 +0000
Subject: Re: PHP Authentication ( Header )
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4605@lists.php.net to get a copy of this message
In article <8jd6r1$4h1$1@toye.php.net>, jduguay@nbnet.nb.ca ("Joey") wrote: > Header("WWW-Authenticate: Basic realm=\"My Realm\""); > Header("HTTP/1.0 401 Unauthorized"); . . . > [28/Jun/2000:11:48:09] failure (25755): for host xxx.xxx.xxx.xxx trying to > GET /test/test.php3, cgieng_scan_headers reports: the CGI program This is claiming PHP is running as a CGI. PHP running as a CGI cannot do authentication headers. (I think because the data would be passing through insecurely from server to CGI, so it ain't never gonna happen.) > Solaris 8 OS > Netscape Enterprise Server > PHP 4.0 compile as NSAPI Module Are you 100% certain you are compiled as NSAPI Module? What does phpinfo() say? Actually, I don't know enough about NSAPI to know if it is capable of authenctication headers or not, so maybe you are using NSAPI Module, but whatever makes CGI not do authentication is limiting you as well... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4605) next »