Jump to content

muttine2

Members
  • Posts

    3
  • Joined

  • Last visited

muttine2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Im trying to setup my new django powered website. Im running into some problems while setting it up. I have followed all the guidlines mentioned in the Heliohost site. I am basically having the same issue as the one mentioned in this post. This is my error message: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@vinay.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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." I tried the stuff mentioned there but couldnt resolve it, further the links mentioned in that post are non-existent now, so cant test it. I have also looked at the wiki article to use the try, except statements. But for some reason, I can see the error statements! Additionally, this is the exceprt of the error message in the error log. " File "/home/muttine2/public_html/personal_prjct/dispatch.wsgi", line 11, in application, referer: http://vinay.heliohost.org/ [Thu Aug 30 02:21:48 2012] [error] [client 99.74.38.192] mod_wsgi (pid=25564): Exception occurred processing WSGI script '/home/muttine2/public_html/personal_prjct/dispatch.wsgi'., referer: http://vinay.heliohost.org/" This is my dispatch.wsgi file content " try: import os, sys #sys.path.append("/home/muttine2/public_html/personal_prjct") sys.path.append("/home/muttine2/public_html/personal_prjct/personal_prjct") os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' os.environ['PYTHON_EGG_CACHE'] = '/home/muttine2/.python_egg_cache' import django.core.handlers.wsgi _application = django.core.handlers.wsgi.WSGIHandler() def application(environ, start_response): environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO'] return _application(environ, start_response) except: import traceback trace = traceback.format_exc() def application(environ, start_response): status = '500 Internal Server Error' output = trace response_headers = [('Content-type', 'text/plain'),('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] " Line 11 is the return statement I would greatly appreciate if some one could help me with this! Thanks in advance...
  2. Hi, Im trying to create a django powered website. As mentioned in the help topics, I have setup the .htaccess and .python_egg_cache files. But for some reason I can't edit the files once I created them. Any idea on how to edit them after I create them? Thanks in advance... Sorry Got it, missed the checkbox allowing you to view and edit hidden files
  3. Hi, I am trying to setup a Django powered site, It was working perfectly on my local server using the default manage.py thing. However when Iam getting this error, "[Wed Jun 20 17:50:29 2012] [error] [client 216.171.4.28] File "/home/muttine2/public_html/BN_MV3/dispatch.wsgi", line 9, in application [Wed Jun 20 17:50:29 2012] [error] [client 216.171.4.28] mod_wsgi (pid=1290): Exception occurred processing WSGI script '/home/muttine2/public_html/BN_MV3/dispatch.wsgi'. " I have followed the instructions given here, and the previous questions here. I am pretty sure I did something wrong in setting up the path. Could you post the error log or if you could help me with the error.... Oh and I am trying to access my site here. My username is: muttine2 Domain: http://bnprojects.heliohost.org/ Thanks...
×
×
  • Create New...