Ph4nt0m Posted April 17, 2011 Share Posted April 17, 2011 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 More sharing options...
Byron Posted April 17, 2011 Share Posted April 17, 2011 Unzip this file on your site: http://byrondallas.heliohost.org/djangotest.zip Change the path in two places in the dispatch.wsgi file to match your site. Create a folder named .python_egg_cache in your home directory and chmod it too 777 and see if that works for you. Link to comment Share on other sites More sharing options...
Guest Geoff Posted April 17, 2011 Share Posted April 17, 2011 It appears to be working on his site. Link to comment Share on other sites More sharing options...
Ph4nt0m Posted April 17, 2011 Author Share Posted April 17, 2011 It appears to be working on his site. Yea, this test app works fine, but I stil couldn't get to work mine. Hope I will find the solution. Link to comment Share on other sites More sharing options...
Archarachne Posted March 25, 2012 Share Posted March 25, 2012 Hello, I hope someone can help me. I have the same problem. Internal server error. cpanel: arachneserver: johnnyhttp://archarachne.heliohost.org/mysite/ Checked the permisions on the files, did "try except" on dispatch.wsgi, .python_egg_cache and .httaccess also look fine to me. Actually tried everything.I need help. Link to comment Share on other sites More sharing options...
Byron Posted March 25, 2012 Share Posted March 25, 2012 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 More sharing options...
Archarachne Posted March 25, 2012 Share Posted March 25, 2012 Yes, thank you byron. Your project is working. That means django is all right. Mine unfortunatelly not. Still internal server error. I need to take a closer look at it in that case. Thank you for your help again. Link to comment Share on other sites More sharing options...
Recommended Posts