title: Django deployment problem in Apache/mod_wsgi. ImportError: Could not import settings 'site.settings'
body: <p>When I'm executing</p>
  
  <pre><code>django-admin.py startproject site
  </code></pre>
  
  <p>it works.<br>
  But if I'm only copying site folder it doesn't work.<br>
  Why?</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerName django.stanislavfeldman.com
  
  # Django settings
  WSGIScriptAlias / /var/www/django/wsgi_handler.py
  WSGIDaemonProcess django.stanislavfeldman.com maximum-requests=200 stack-size=524288
  
  ErrorLog /var/www/django/error.log
  LogLevel warn
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>wsgi_handler.py:</p>
  
  <pre><code>import os, sys
  
  sys.path.append('/var/www/django')
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'site.settings'
  
  import django.core.handlers.wsgi
  
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>