I don't know if you can help with this.  I'm having a little trouble
with using the Django auth method in Apache, the error log indicates
that it is trying a non-existant mysql database (when I am using
postgresql) perhaps I have a
setting wrong, wrong file, or something missing?

The exampleuser/settings.py file is in
/home/exampleuser/instances/exampleuser/settings.py

   <Location /logfiles/>
     AuthType basic
     AuthName "www.example.com"
     Require valid-user

     PythonPath "['/home/exampleuser/apps',
'/home/example/instances'] + sys.path"
     SetEnv DJANGO_SETTINGS_MODULE exampleuser.settings
     PythonAuthenHandler django.contrib.auth.handlers.modpython
   </Location>

Error message:

[Fri Oct 13 10:38:54 2006] [error] [client 209.89.133.38] MySQL ERROR:
Table 'test.user_info' doesn't exist: /logfiles/
[Fri Oct 13 10:38:54 2006] [error] [client 209.89.133.38] MySQL user
mbest not found: /logfiles/

settings.py looks like:
DATABASE_ENGINE = 'postgresql'
DATABASE_NAME = 'exampleuser'
DATABASE_USER = 'exampleuser'
DATABASE_PASSWORD = 'examplepw'
DATABASE_HOST = ''
DATABASE_PORT = ''

I'm currently using this on 0.91, but it's basically unchanged in 0.95

http://www.djangoproject.com/documentation/0_91/apache_auth/
http://www.djangoproject.com/documentation/apache_auth/

-Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to