[mod_python] 500 errors from authentication example

Doug Daniels ddaniels888 at gmail.com
Wed Oct 25 23:21:59 EDT 2006


I had a bit of trouble running the authentication example at
http://www.modpython.org/live/current/doc-html/tut-more-complicated.html .
I'm working on Mac OS X v 10.4, running:

Apache: 2.2.3
Python: 2.4
mod_python: 3.2.10

When I tried to use the sample code and conf file directives, I got a 500
error from apache.  In the error log I saw:

[Wed Oct 25 22:53:30 2006] [error] [client] (9)Bad file
descriptor: Could not open password file: (null)
[Wed Oct 25 22:53:57 2006] [error] Internal error: pcfg_openfile() called
with NULL filename

As per some random advice here:

http://www.mail-archive.com/[email protected]/msg02163.html

I added the 'AuthBasicAuthoritative off' directive to the directory
definition in the conf file, and the issue went away.

Anyone know what's up here?  Is this a known issue, and if so should the
tutorial be changed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061025/c7763a9c/attachment.html

More information about the Mod_python mailing list