Jan-26-2018, 06:44 AM
(This post was last modified: Jan-26-2018, 06:44 AM by Drone4four.)
(Jan-23-2018, 09:11 PM)nilamo Wrote: You shouldn't be using runserver or manage.py with ssl. You just did all that apache config, so why wouldn't you use apache?Thank you nilamo for suggesting to not run Django in development mode. I found a helpful guide called, How To Serve Django Applications with Apache and mod_wsgi on Ubuntu 14.04, on DigitalOcean which demonstrates well how to run Django using mod_wsgi.
The error is telling you that it (the development server) doesn't support https. So don't use the development server anymore.
The issue I have now is that I still have an Apache public_html folder which is still serving its contents, rather than Django's. See here: www.angeles4four.info.
Is it possible to concurrently have Apache serve public_html's contents AND have Django deployed and accessible in a sub directory? For example instead of serving the Django home page at www.angeles4four.info , how could I arrange Django to load at www.angeles4four.info/cel2fah or something like that?