django-wsgi

Debugging Apache/Django/WSGI Bad Request (400) Error

Debugging Apache/Django/WSGI Bad Request (400) Error Question: My simple Django app worked fine in debug mode (manage.py runserver), and works under WSGI+Apache on my dev box, but when I pushed to EC2 I began receiving intermittent (10-80% of the time) errors of Bad Request (400) for any URLs I try to view (whether in my …

Total answers: 3

Django + apache & mod_wsgi: having to restart apache after changes

Django + apache & mod_wsgi: having to restart apache after changes Question: I configured my development server this way: Ubuntu, Apache, mod_wsgi, Python 2.6 I work on the server from another computer connected to it. Most of the times the changes don’t affect the application unless I restart Apache. In some cases the changes take …

Total answers: 3