Jim Thario
jim at thario.net
Sun Dec 22 22:17:09 EST 2002
Hi. I recently stared working with mod_python. I am using the stock Red Hat 8.0 installation which includes: httpd-2.0.40-11 python-2.2.1-17 mod_python-3.0.0-10 I am having trouble with the example from "3.4 Now something More Complicated - Authentication". My configuration in httpd.conf looks like: <Directory /var/www/html/python> AddHandler python-program .py PythonHandler myscript PythonAuthenHandler myscript PythonDebug On AuthType Basic AuthName "Restricted Area" require valid-user </Directory> After getting prompted for the user and password, I get a "Server error!" page and an entry in the /var/log/httpd/error_log: "configuration error: couldn't check user. No user file?: /python" Apache seems to want an AuthUserFile in there to read. The best I can guess is there is a problem with the version of mod_python shipped with Red Hat 8.0. Any ideas? Thanks in advance, Jim
|