I am using Digital Ocean servers to hosts my site. When I run the site with debug = True, it runs fine but when I set it to False, it gives internal server error. I have put my domain name and IP in list of allowed hosts. Any suggestions?
Also, I have collected the static files for django admin and django oscar using manage.py collectstatic
in static
folder and they are being served properly. But, I have put some other files too in the same folder which include favicon, logo images etc and few css files. The css files are being served properly but the logo and favicon gives a 403(forbidden) error. Again, suggestions?
If you are using Apache and mod_wsgi, then your /static/ folder and/or some images in it probably do not grant permission to the Apache user to serve them.
Try this:
chown -R www-data /path/to/folder/static