title: Mod_python error: ImportError: Could not import settings
body: <p>Trying to get Django to work with Apache, and I'm getting the following error:</p>
  
  <blockquote>
    <p>ImportError: Could not import settings 'MyDjangoApp.settings' (Is it on sys.path? Does it have syntax errors?): No module named MyDjangoApp.settings</p>
  </blockquote>
  
  <p>My Django app is located in /home/user/django/MyDjangoApp/</p>
  
  <p>My httpd.conf Location section looks like:</p>
  
  <pre><code>&lt;Location "/MyDjangoApp/"&gt;
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE MKSearch.settings
    PythonOption django.root /MyDjangoApp
    PythonPath "['/home/user/django/MyDjangoApp/','/var/www'] + sys.path" 
    PythonDebug On
  &lt;/Location&gt;
  </code></pre>
  
  <p>Please tell me how to correct the location section to make Django work?</p>