Jump to content

[Solved] Django Internal Server Error


Ph4nt0m

Recommended Posts

Hi, I am trying to get django to work, but no success. I followed the guide from Heliohost site, but I keep getting this error:

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, webmaster@thedevelop.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

 

 

There is the URL to my site: CLICK

Link to comment
Share on other sites

  • 11 months later...

Upload this zip file to your public_html directory and unzip it..

 

http://byrondallas.heliohost.org/djangtest.zip

 

Then correct the paths in your dispatch.wsgi file:

 

import os, sys
sys.path.append("/home/dallas/public_html/djangotest");
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
os.environ['PYTHON_EGG_CACHE'] = '/home/dallas/.python-egg-cache'
## you need to create the directory above ##

 

Create and chmod .python-egg-cache to 755 and it should work.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...