title: Invalid command 'WSGIReloadMechanism' in my Apache site's config file
body: <p>I am trying to deploy a Django project and am using Apache2 with mod_wsgi.  Here are the relevant lines in my Apache conf file:</p>
  
  <pre><code>WSGIScriptReloading On
  WSGIDaemonProcess myprojectcom
  WSGIReloadMechanism Process
  WSGIProcessGroup myprojectcom
  WSGIApplicationGroup myprojectcom
  WSGIPassAuthorization On
  
  WSGIScriptAlias / /home/myproject/myproject/deploy/deploy.wsgi
  </code></pre>
  
  <p>I've used a very similar conf file for many other deployments, but this is the first time that I'm getting the following error:</p>
  
  <pre><code>/etc/apache2/sites-available$ sudo /etc/init.d/apache2 restart
  Syntax error on line 8 of /etc/apache2/sites-enabled/myproject.com:
  Invalid command 'WSGIReloadMechanism', perhaps misspelled or defined by a module not included in the server configuration
  Action 'configtest' failed.
  The Apache error log may have more information.
    ...fail!
  </code></pre>
  
  <p>I don't see any syntax error, though.  I'm on Ubuntu, using the libapache2-mod-wsgi package.  What could be wrong?</p>