ich versuche gerade auf meinem Debian Server Django zum laufen zu bringen:
Code: Alles auswählen
MOD_PYTHON ERROR
ProcessId: 4545
Interpreter: 'debian.debian.local'
ServerName: 'debian.debian.local'
DocumentRoot: '/var/www/'
URI: '/django/'
Location: None
Directory: '/var/www/django/'
Filename: '/var/www/django/'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1202, in _process_target
module = import_module(module_name, path=path)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named core.handlers.modpython
Code: Alles auswählen
<Directory "/var/www/django/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE django.settings
PythonOption django.root /django
PythonDebug On
PythonPath "['/var/www/', '/usr/local/django-apps/'] + sys.path"
</Directory>
Habt ihr eine Idee?