Jim Thario
jim at thario.net
Thu Dec 26 16:43:27 EST 2002
Thanks for taking time to reproduce this. I am going to open a bug against Red Hat 8.0 and see what they are willing to do. Thanks, Jim T.-S. Yang said: > Jim, > > I'm able to reproduce the error that you described using RedHat 8. The > problem is fixed under ReHat 8.0.92 (Phoebe). > > I don't know the cause of the problem. The related packages in Phoebe > are > > httpd-2.0.40-14 > python-2.2.2-7 > mod_python-3.0.1-1 > > Happy Holidays, > -tsy > > > Jim Thario wrote: >> 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 >>
|