RE: [PHP-GENERAL] Authentication Error
| From: | Mark Roedel | Date: | Fri, 16 Jun 2000 15:35:19 +0000 |
| Subject: | RE: [PHP-GENERAL] Authentication Error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2076@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Joey [mailto:jduguay@nbnet.nb.ca]
> Sent: Friday, June 16, 2000 9:49 AM
> To: php-general@lists.php.net
> Subject: [PHP-GENERAL] Authentication Error
>
>
> I'm hoping someone can help me with the following error. I running PHP
> 4.0 with Netscape Enterprise Server on a Sun box. When i try the following
> code I get an error.
>
> [snip]
>
> This code is an example from the php documentation. Are there
> any configure options when setting up PHP that i might have missed?
Looks like you may have missed the statement at the top of the page upon
which that code example appears:
"The HTTP Authentication hooks in PHP are only available when it is running
as an Apache module and is hence not available in the CGI version."
That statement's been there since PHP3; presumably, the CGI restriction
still remains in the current version. I don't remember seeing any statement
either way, though, as to whether the module functionality remains
Apache-only, or if it'd work with any of the server-plugin formats PHP
supports...it might be worth trying to build as an NSAPI module instead of a
CGI (I believe that'd mean adding a "--with-nsapi=path" to your configure
options).
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer | at himself, for he shall never cease
LeTourneau University | to be entertained."
Longview, Texas, USA | -- John Powell