Re: Is there an easy way to test ssl protected pages in development server??

2009-01-05 Thread Graham Dumpleton



On Jan 6, 3:02 am, madhav <madhav@gmail.com> wrote:
> Is there an easy way to test ssl protected pages in development
> server? Normally I will be doing the testing by accessing the same
> urls with http and not https in dev server. Is this the only way?

You may be better of setting up a instance of Apache with mod_wsgi and
run Django instance in mod_wsgi daemon process. As explained in:

  http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html

one can also set things up so code reloads are automatic per
development server. So, a bit more work involved in setup, but an
environment which is then closer to what your production system will
be.

Having that working, then you can properly configure Apache instance
to accept HTTP/HTTPS connections on 80/443 and route them both to the
same Django instance handled by mod_wsgi.

Graham
--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Is there an easy way to test ssl protected pages in development server??

2009-01-05 Thread madhav

Is there an easy way to test ssl protected pages in development
server? Normally I will be doing the testing by accessing the same
urls with http and not https in dev server. Is this the only way?
--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---