There's some discussion in Zope about this... if you look at information about using Zope on a commercial host it'll discuss this, but I think the standard installation notes also discuss it.
If Apache has the authorization information then you can get it from an environment variable (HTTP_USER or something). Otherwise you have to do configure something in Apache to allow CGI scripts to do authentication. I've never liked HTTP authentication, so besides Zope I've never considered using it. It's mostly the fault of the browsers, though. On Tue, 2002-02-26 at 18:50, Magnus Lie Hetland wrote: > I've been trying to translate som HTTP authentication code I've got > lying around for PHP into Python (using WebKit). I've figured out that > I can get the authentication started by supplying a WWW-Authenticate > header and setting the status to 401, but my question is -- where can > I find the username and password? PHP uses PHP_AUTH_USER and > PHP_AUTH_PASS... > > -- > Magnus Lie Hetland The Anygui Project > http://hetland.org http://anygui.org > > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
