I've been trying to get my site up and running on Apache.

I keep getting the following error

"EnvironmentError: Could not import settings 'mysite.settings' (Is it
on sys.path? Does it have syntax errors?): No module named
mysite.settings".


I gone through the Apache http conf file, but just cannot see where
I've gone wrong. The offending lines seem to be below but I cannot see
why it cannot find the mysite.settings file.

Help very much appreciated.


MerMer

<Location "/hive/">
    SetHandler python-program
    PythonPath "['C:/Python24/Lib/site-packages/django/bin/mysite'] +
sys.path"
    PythonPath "['C:/Python24/Lib/site-packages/django/bin'] +
sys.path"
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
</Location>

<Location "/admin/">
    SetHandler python-program
    PythonPath "['C:/Python24/Lib/site-packages/django/bin/mysite'] +
sys.path"
    PythonPath "['C:/Python24/Lib/site-packages/django'] + sys.path"
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
</Location>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to