vaibhav8 Posted September 14, 2012 Posted September 14, 2012 Dear HelioHost, My username is - vaibhav1My url is - www.gemsandu.com I have project in django ... and i've upload it through ftp client on heliohost sever (as described on http://www.heliohost.org/home/features/languages/python) but my url shows 500 Internal Server error... I am showing u, what i've done... my django project name is gemsandu 1) i've upload my django project under public_html dirctory --> public_html/gemsandu 2) .python_egg_cache folder created parallel with public_html with 777 permission 3) dispatch.wsgi file under public_html/gemsandu/dispatch.wsgi with 755 permissionwith this code -- import os, sys sys.path.append("/home/vaibhav1/public_html/gemsandu"); os.environ['DJANGO_SETTINGS_MODULE'] = 'gemsandu.settings' os.environ['PYTHON_EGG_CACHE'] = '/home/vaibhav1/.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) 4).htaccess file under public_html/gemsandu/.htaccess with 644 permissionwith this code -- RewriteEngine OnRewriteBase /RewriteRule ^(static/.*)$ - [L]RewriteRule ^(sitestatic/.*)$ - [L]RewriteRule ^(media/.*)$ - [L]RewriteRule ^(admin_media/.*)$ - [L]RewriteRule ^(dispatch\.wsgi/.*)$ - [L]RewriteRule ^(.*)$ gemsandu/dispatch.wsgi/$1 [QSA,PT,L] After doing all this thing my django project not working ... Please help me out with this problem ...
vaibhav8 Posted September 17, 2012 Author Posted September 17, 2012 Please Admin ...reply for this post
vaibhav8 Posted September 17, 2012 Author Posted September 17, 2012 Please make navigation pic on website to show where we can put/make our files/directory for django projects ...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now