Jump to content

arnews

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by arnews

  1. 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 = [
    '*'
    ]
     

     

×
×
  • Create New...