Ravi Kumar wrote on 01/31/08 06:45: > Hi, > I have developed a Django project with 3 apps. Now, I have to implement > authentication for 2 apps, while one app will be public without any > authentication. > But I don't want to run two virtual servers with HTTP and HTTPS differently. > The condition is, when a page requiring authentication, it should forward to > Login page with very secure implementation (quite afraid of wire sniffer > dogs in my network). I should have used HTTPS but i already put the problem. > How how can I proceed? Can i have SSL/HTTPS just for login authentication > anyway, else all other page just check user is_authenticated and serves the > pages on plain. > Maybe, If i could not make the question clear, please let me know, I will > revise it.
Maybe something like this in your apache config? RedirectMatch permanent /(login|securepage) https://www.example.com/$1/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---