title: mod_wsgi Error on CentOS 6.5
body: <p>folks. I'm very new to coding and Python. This is my second Stack question ever. Apologies if I'm missing the obvious. But, I've researched this and am still stuck.</p>
  
  <p>I've been trying to install and use mod_wsgi on CentOS 6.5 and am getting an error when trying to add a VirtualHost to Apache.</p>
  
  <p>The mod_wsgi install seemed to go fine and my Apache status says:</p>
  
  <p>Server Version: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips DAV/2 mod_wsgi/3.4 Python/2.6.6 mod_bwlimited/1.4</p>
  
  <p>So, it looks to me like mod_wsgi is installed and running.</p>
  
  <p>I have also added this line to the my pre-main include file for httpd.conf:</p>
  
  <p>LoadModule wsgi_module modules/mod_wsgi.so</p>
  
  <p>(I have looked ad mod_wsgi is in apache/modules.)</p>
  
  <p>And, I have restarted Apache several times.</p>
  
  <p>The error comes when I try to add a VirtualHost to any of the include files for https.conf.</p>
  
  <p>I always get an error message that says:</p>
  
  <p>Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not included in the server configuration</p>
  
  <p>If I try to use a VirtualHost with a WSGIDaemonProcess reference, I get a similar error message about WSGIDaemonProcess.</p>
  
  <p>From reading on Stack and other places, it sounds like I don't have mod_wsgi installed, or I don't have the Apache config file loading it, or that I haven't restarted Apache since doing those things. But, I really think I have taken all of those steps.</p>
  
  <p>What am I missing here? Thanks!</p>
  
  <p>Marc  :-)</p>