Jump to content

roger8

Members
  • Posts

    8
  • Joined

  • Last visited

roger8's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. roger8

    Django problem

    Thanks djbob, I resolved one problem: access permission on data.db and directory must be 777. But I have some problems with the mapped urls: Page not found (404) Request Method: POST Request URL: http://www.arcadomus.heliohost.org/arcadom...min/main/entry/ Using the URLconf defined in arcadomus.urls, Django tried these URL patterns, in this order: 1. ^arcadomus/dispatch.wsgi/$ 2. ^arcadomus/dispatch.wsgi/index_entries 3. ^images/(?P<path>.*)$ 4. ^docs/(?P<path>.*)$ 5. ^arcadomus/dispatch.wsgi/admin(.*) The current URL, arcadomus/dispatch.wsgi/arcadomus/dispatch.wsgi/admin/main/entry/, didn't match any of these. I will work about this error. Ruggero
  2. roger8

    Django problem

    Hi djbob I think it is impossible to understand what is the cause of the internal server error without the appropriate log. Can you please send me the apache errors about the url http://www.arcadomus.heliohost.org/arcadom...tch.wsgi/admin/ ? Thank you Ruggero
  3. ren, is your admin page working now? thanks for the configurations file. Ruggero
  4. roger8

    Django problem

    After a lot of work, probably to my misunderstand, this the dispatch.wsgi file: import os, sys sys.path.append("/home/roger8/public_html/"); <--- NOTE THIS [my django project is in ..../public_html/arcadomus] os.environ['DJANGO_SETTINGS_MODULE'] = 'arcadomus.settings' <-- NOTE THIS [not settings but arcadomus.settings] os.environ['PYTHON_EGG_CACHE'] = '/home/roger8/.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) All the request are in the form: www.arcadomus.heliohost.org/arcadomus/dispatch.wsgi/ <-- NOTE THIS I changed url.py according the new urls, example: (r'^arcadomus/dispatch.wsgi/$', 'arcadomus.main.views.index'), Finally: the site work, but the admin page give me an internal server error I hope in some help Ruggero
  5. Hello ren, I tried to deploy a small application 'mysite' whithout sqlite and templates but I got an internal server error Can you show me your .htaccess and dispatch.wsgi (I have followed the instructions on the site but perhaps I have maked some mistakes) Thank you Ruggero
  6. roger8

    Django problem

    I have done some changes on my settings.py, but i still have Internal Server Error... Could it be that there are some errors in the configuration?! Sorry to bother you. Ruggero
  7. roger8

    Django problem

    Hello djbob, my cPanel username is roger8 Thank you
  8. I am sorry, but after having tried several times my Django application doesen't work. I use at home Django 1.0.2 and I know that the server installation is 1.0. Might this be the problem? Extract from error.log: [sun Jul 19 21:01:26 2009] [error] [client 93.35.54.59] File does not exist: /home/roger8/public_html/500.shtml [sun Jul 19 21:01:26 2009] [error] [client 93.35.54.59] File "/home/roger8/public_html/arcadomus/dispatch.wsgi", line 9, in application [sun Jul 19 21:01:26 2009] [error] [client 93.35.54.59] mod_wsgi (pid=27090): Exception occurred processing WSGI script '/home/roger8/public_html/arcadomus/dispatch.wsgi'. Thanks in advance Ruggero
×
×
  • Create New...