Possible duplicate:Django Unhandled Exception
I accidentally get 500 server errors and try to diagnose the problem. Setup:
Apache + mod_python + Django
My 500.html page is served by Django, but I don’t know what causes the error. My Apache access.log and error.log files do not contain any important debugging information, except that the request returns 500.
Is there a mod_python or general python error file somewhere (Ubuntu server)?
Thanks!
, apache, , . , - djangoserver, /etc/apache 2/sites-enabled/djangoserver
ErrorLog /var/log/apache2/djangoserver-errors.log
, , , apache. , mod_python python.
?
, , Django . settings.py
DEBUG = True TEMPLATE_DEBUG = DEBUG
500 .
. , Django - . (gasp!) ./manage.py runserver 0.0.0.0:8000, , .
./manage.py runserver 0.0.0.0:8000
, - Apache, dev-, .