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

4,975 views
Skip to first unread message

madhav

unread,
Jan 5, 2009, 11:02:59 AM1/5/09
to Django users
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?

Graham Dumpleton

unread,
Jan 5, 2009, 7:38:38 PM1/5/09
to Django users
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
Reply all
Reply to author
Forward
0 new messages