How To Setup Basic Authentication with Django & mod_wsgi

51 views
Skip to first unread message

Vishwajeet

unread,
Jul 31, 2012, 2:08:29 AM7/31/12
to mod...@googlegroups.com
Dear Graham,

This was due on me from long time, I had promised that I will put together our discussions on setting up basic authentication while using Django & mod_wsgi, so finally it's here, we also had discussed about group authorization, I also have that part but not included in post, if anyone here interested in same please write back to me and I will share the same with you guys.

Consider this use case:

You have Django web application up and running on Apache and ‘mod_wsgi’. You plan to host
Subversion repository on the same server and want it to be accessible to your web application users.
By default, Subversion will use ‘htpasswd’ file to authenticate users. So you will need to maintain two
sets of users – one in ‘Django’ database and the other in Subversion ‘htpasswd’ file. You also need to
keep them in sync so that the users have the same password and username for Subversion as well for
logging in the web application.

Please find the detail post here 
http://blog.bootstraptoday.com/2012/07/30/how-to-setup-subversion-basic-authentication-with-django-mod_wsgi/

Feel free to suggest any improvements in approach or any other thoughts.

Thanks Graham for all your support for making this post possible, I hope people in group find it useful.
Reply all
Reply to author
Forward
0 new messages