arnews Posted February 21, 2018 Posted February 21, 2018 When i request http://arnews.heliohost.org/ArNews/ Internal Server ErrorThe 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 OnRewriteBase /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_applicationsys.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 = ['*']
Krydos Posted February 21, 2018 Posted February 21, 2018 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.
arnews Posted February 22, 2018 Author Posted February 22, 2018 Thx @Krydos , @Luigi123 .. I found Ansower in https://wiki.helionet.org/Moving_your_account
wolstech Posted February 22, 2018 Posted February 22, 2018 Yep, that's the way to do it Let us know if you need anything else.
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