I did something similar while migrating an old app to Django. Since auth was the first step for me in the migration, I set up the users and session data in a table accessible by both apps and used Django for auth while I migrated the rest. This method requires sharing a secret between three entities though (browser/django/old app)
On Jun 5, 1:26 pm, Adam Stein <[email protected]> wrote: > I'm trying to figure out a way to use Django authentication to control > access to web pages (on the same web server) that are NOT under Django. > > I have found some information regarding setting up Apache for basic > authentication using mod_wsgi, but in this case Apache puts up it's own > login window. > > I'm looking for a solution using Django and/or Apache directives that > would put up Django's login page. It should look exactly the same as if > the URL were under Django control. > > Has anyone done anything like this? I'm currently using Django v1.0.2 > and Apache v2.2 but can upgrade either if necessary. > -- > Adam Stein @ Xerox Corporation Email: [email protected] > > Disclaimer: Any/All views expressed > here have been proven to be my own. [http://www.csh.rit.edu/~adam/] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

