I've setup a Gentoo Linux server for use with django, but I have some difficulties with the apache configuration I think. The python webserver works fine, but now I want to have it working with apache2 and mod_python. I've a config like in the tutorial (http://www.djangoproject.com/documentation/modpython/). Apache runs fine, but when I browse to my website I get this error:
Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/modpython.py", line 165, in handler return ModPythonHandler()(req) File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/handlers/modpython.py", line 130, in __call__ from django.conf import settings File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/conf/settings.py", line 32, in ? mod = __import__(me.SETTINGS_MODULE, '', '', ['']) ValueError: Empty module name I'm very new to Django (just discovered it today :D), and I have no idea where to look for the problem and for more information about my config. Please help! :)