Jump to content

Recommended Posts

Posted

When i request http://arnews.heliohost.org/ArNews/

 

Internal Server Error

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

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

 

ArNews Tree : 

 

---/home/arnews/public_html/ArNews

----------/ArNews

---------------------/__init__.py

---------------------/dispatch.wsgi

---------------------/settings.py

---------------------/urls.py

----------/ArNewsBot

---------------------/migrations

---------------------/urls.py

---------------------/etc.

----------/media

----------/manage.py

----------/.htaccess

 

 

IN .htaccess :-

 

RewriteEngine On

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

 

in dispatch.wsgi :-

 

import os ,sys
 
from django.core.wsgi import get_wsgi_application
sys.path.append("/home/arnews/public_html/ArNews");
 
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ArNews.settings")
 
application = get_wsgi_application()

 

in settings.py :-

 

 
DEBUG = True
 
ALLOWED_HOSTS = [
'*'
]
 

 

Posted

Like it says at https://wiki.helionet.org/Django Johnny is our only server that doesn't support django, and that's the server you picked. In order to use django you're going to need to move to Ricky or Tommy. Ricky has django on python 2.7, and Tommy has django on python 3.6.

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...