Hi there
I tried to install mod_python according to this installation guide:
http://www.djangoproject.com/documentation/modpython/
However, I get a "Internal Server Error (500)" when calling my url. I
do _not_ get any feedback in _any_ apache log file! What could be the
cause?
My System: Debian Sarge + Apache 2 + Python 2.3 + mod_python
I created a "django" user on my linux system. The django code resides
in a directory in this users homedirectory:
/home/django/django_src (svn checkout of django)
/home/django/projects (root of all my django projects)
Example:
/home/django/projects/djangotest (a test site)
/home/django/projects/djangotest/urls.py
/home/django/projects/djangotest/settings.py
... (etc)
My Apache-Config looks like this:
<Location "/djangotest/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath "['/home/django/projects/djangotest'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE /home/django/projects/djangotest/
settings.py
PythonInterpreter djangotest
PythonDebug On
</Location>
I call http://myvirtualhost/djangotest/now (1st example in
djangobook.com)
When I am trying the same example with the django internal development
server (manage.py runserver), it works fine!!!
Any ideas?
Are there any file permission issues I have to be aware? Currently,
all files belong to my "django" user, but all files are readable by
all users (including www-data). Why am I getting no feedback in any
error log?
I would appreciate any hints. Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---