Jump to content

Recommended Posts

Posted

Okay, so I followed the steps on heliohost about django, but somehow it keeps giving me a 500 error

if I go to http://ninv.heliohost.org/ninv

(ninv is the name of my project)

 

The cpanel error log does not contain an error,

so I hope you guys might be able to help me?

 

Kruptein

(host=ninv.heliohost.org)

(username=ninv)

Posted

the same problem, need help

(host = vcards.heliohost.org)

(un = simbairk)

 

set up on this article

read forum, tried different boards

best of what has made it view.index at http://vcards.heliohost.org/dispatch.wsgi. Links give an error 404 http://vcards.heliohost.org/dispatch.wsgi/500.shtml

 

my public_html/dispatch.wsgi (right 755)

 

import os, sys
sys.path.append("/home/simbairk/public_html/")
os.environ['DJANGO_SETTINGS_MODULE'] = 'phonebook.settings'
os.environ['PYTHON_EGG_CACHE'] = '/home/simbairk/.python_egg_cache' #right 775
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)

 

my public_html/.htaccess (right 644)

RewriteEngine On
RewriteBase /
RewriteRule ^(dispatch\.wsgi/.*)$ - [L]
RewriteRule ^(.*)$ dispatch.wsgi/$1 [QSA,PT,L]

Posted

I found my mistake

my view.index not use database

but login use...

I need to do syncdb

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...