On Nov 6, 9:30 am, stranger <[EMAIL PROTECTED]> wrote: > Hello Graham, > > Just followed the same instructions as u said. > > <Location "/mysite/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonDebug On > PythonPath "['/home/priya'] + sys.path" > </Location> > > No Change in http:localhost/mysite > > Still pointing to the same error page. > EnvironmentError: Could not import settings 'mysite.settings' (Is it > on sys.path? Does it have syntax errors?): No module named > mysite.settings
Is your settings file in fact located at: /home/priya/mysite/settings.py Did you restart Apache after making the config change? As Apache will normally run as a special user, does that user have the ability to read files from your home directory? If the directories down to that point are not readable and searchable to others, or the individual files not readable to others then Apache user will not be able to read them and you will also get this error. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---