I have a Django app running on a shared server using FCGI. When I run the dispatch.fcgi script from the command line, I see the HTML content of my homepage, as expected. However, when I try to visit my homepage using my browser, I get a 500 error. My question is basically the same as this one: Django FastCGI and 500 Internal Server Error except that I am already on Python version 2.6.
Share
You need to log the exception – put your entire dispatch.fcgi file in a try/except block and write the traceback to a file you can inspect:
Hopefully that’s enough to figure out the underlying issue.