I've already done my best to follow the instructions at http://docs.djangoproject.com/en/dev/howto/deployment/modpython/, but a customer is transferring a website to us, and I suspect the original developer's methods were a bit, uh, different.
So, first the full error message:
ImportError: Could not import settings 'settings.py' (Is it on sys.path? Does it have syntax errors?): No module named py
Then, the apache configuration for the site:
<Location /acecoach/>
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings.py
PythonOption django.root /acecoach
PythonPath "['/home/acecoach/public_html/acecoach'] + sys.path"
PythonDebug On
</Location>
Now, the "settings module" as far as I know, is located in /home/acecoach/public_html/acecoach/settings.py This file is readable by the apache server - I tested this by actually SU-ing to the apache user and reading the file from the command line.
I've also read similar advice on this error message, and found no useful help in this regard. It's driving me nuts. :)