Haku, I fixed mine by giving executable permission to my "/home/username". Like you I was frustrated by this error and tried all combinations in httpd.conf, until I read Malcolm Tredinnick's reply to similar problem here: http://groups.google.com/group/django-users/browse_thread/thread/921e8e8f5a68ec7a/f237a68a111bef24?lnk=gst&q=Could+not+import+settings&rnum=1#f237a68a111bef24
I run chmod 777 in my "home/username" and "home/username/apps" directories and that fixed the problem. Hope this helps. Rolly On May 4, 4:13 am, Haku <[EMAIL PROTECTED]> wrote: > Ok, i'm here with another question :D > > Everithing is fine on my development server (windows), but now i want > to put my project on my production server > > My production Server is a VPS running everithing django needs to run, > so i've modified my httpd.conf file adding the following lines: > > <location "/mysite/"> > SetHandler python-program > PythonPath "['/root/mysite'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonDebug On > </location> > > but as i restart apache and surf tohttp://urltoproducion/mysite/I > always get this ugly page with this ugly error: > > EnvironmentError: Could not import settings 'mysite.settings' (Is it > on sys.path? Does it have syntax errors?): No module named > mysite.settings > > where am i wrong? I guess it's a path problem or something like > that... > > Thank you!!! > > Haku --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---