Re: Authentication Question

2008-02-18 Thread Graham Dumpleton
If you want to use Django user database for HTTP Basic/Digest authentication across static files and other non Django URLs, as well as Django, then you can also use mod_wsgi 2.0 instead of mod_python. See: http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms When using the mod_python

Re: Authentication Question

2008-02-18 Thread Tim Sawyer
On Monday 18 Feb 2008, Rajesh Dhawan wrote: > If you want to make Apache use a Django auth backend, > take a look at: > http://www.djangoproject.com/documentation/apache_auth/ Thanks Rajesh, I think this is exactly what I was fumbling towards! (Excellent analysis of my non-MVC ramblings as we

Re: Authentication Question

2008-02-18 Thread Rajesh Dhawan
Hi Tim, > I've read the docs for authentication but I can't see how I can replicate > existing functionality I have using php. > > I have a directory /private on the web server, marked using .htaccess > and .htpasswd to only allow access if a username is passed. Anything I put > inside this dire