Hello, thank your for your reply. Tried everything, getting positive results, but still can't load http://localhost/mysite/.
1) permissions on both /home, /home/benrawk, and /home/benrawk/mysite are 'drwxr-xr-x' 2) I succesfully imported mysite.settings after adding /home/benrawk to the sys.path. 3) mysite/ has __init__.py in it. Any other ideas? Would really like to get this to work...any help is greatly appreciated. On Mar 22, 1:02 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2007-03-22 at 07:57 +0000,benrawkwrote: > > Hello, > > > Recieving a common error, but have trolled the message boards, and > > have not found a solution. My httpd.conf file contains the following > > relevant snippet: > > > <Location "/mysite/"> > > SetHandler python-program > > PythonPath "['/home/benrawk'] + sys.path" > > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > > PythonHandler django.core.handlers.modpython > > PythonDebug On > > Allow from localhost > > </Location> > > > The path of my project file with settings.py in it is /home/benrawk/ > > mysite. > > Is /home/benrawkreadable by the user running Apache (typically, > "apache")? Similarly is mysite/ readable by that user? > > Does your settings.py file have syntax errors in it? If you start a > python prompt, import sys and add /home/benrawkto the front of > sys.path, can you import mysite.settings without error? > > Does mysite/ have an __init__.py file in it? Actually, this is a > redundant question if you passed the previous test, but it might explain > why the import failed if you can't even import it from the command line. > > Those are the likely causes of problems: apache can't read the files in > question, or settings.py has syntax errors. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---