Malcom -- Thanks for the quick reply. I believe the files are set correctly:
ls -l /home/george/testing yields: drwxrwxr-x 6 george george 4096 Aug 10 19:14 myapp drwxrwxr-x 2 george george 4096 Aug 10 17:13 document_root drwxrwxr-x 3 george george 4096 Aug 10 17:14 templates and ls -l /home/george/testing/myapp yields: -rw-r--r-- 1 george george 0 Aug 10 16:57 __init__.py -rw-rw-r-- 1 george george 129 Aug 10 17:01 __init__.pyc -rwxr-xr-x 1 george george 546 Aug 10 16:57 manage.py drwxrwxr-x 2 george george 4096 Aug 10 19:14 reports drwxrwxr-x 2 george george 4096 Aug 10 17:02 reviews -rw-r--r-- 1 george george 3046 Aug 10 17:18 settings.py -rw-rw-r-- 1 george george 1880 Aug 10 19:09 settings.pyc -rw-r--r-- 1 george george 332 Aug 10 17:12 urls.py -rw-rw-r-- 1 george george 503 Aug 10 19:09 urls.pyc On Aug 10, 11:38 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-08-11 at 06:32 +0000, george wrote: > > I have seen previous posts regarding this issue, and I'm pretty sure > > that I'm not running into similar issues that others have faced. I'm > > a bit stuck as to where to go. > > > I'm running Apache2, python2.3, mod_python, latest django and CentOS > > 4.5. > > > I've got a django project located at: > > > /home/george/testing/myapp > > > Meaning that my settings.py file is at /home/george/testing/myapp/ > > settings.py > > > I've got the following configuration in my /etc/httpd/conf.d/ > > python.conf file: > > > <Location "/"> > > SetHandler python-program > > PythonHandler django.core.handlers.modpython > > PythonPath "['/home/george/testing'] + sys.path" > > SetEnv DJANGO_SETTINGS_MODULE myapp.settings > > PythonDebug On > > </Location> > > > When I try viewing the root in a web browser, I get the following: > > > Mod_python error: "PythonHandler django.core.handlers.modpython" > > > Traceback (most recent call last): > [...] > > EnvironmentError: Could not import settings 'myapp.settings' (Is it on > > sys.path? Does it have syntax errors?): No module named myapp.settings > > Does Apache have permission to read the settings file, remembering that > it runs as a much less powerful user than you? You must have the execute > bit set for the "other" set of users for parent directories and the read > bit set for the file itself. > > Regards, > Malcolm > > -- > Why be difficult when, with a little bit of effort, you could be > impossible.http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---