Hi, folks. I'm extremely new to Apache, Python, and mod_wsgi. Apologies if 
I'm missing the obvious. But, I've researched this as best I can and am 
still stuck.

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.

The mod_wsgi install seemed to go fine and my Apache status says:

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

So, it looks to me like mod_wsgi is installed and running.

I have also added this line to the my pre-main include file for httpd.conf:

LoadModule wsgi_module modules/mod_wsgi.so

(I have looked and mod_wsgi is in apache/modules.)

And, I have restarted Apache several times.

The error comes when I try to add a VirtualHost to any of the include files 
for https.conf.

I always get an error message that says:

"Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a 
module not included in the server configuration"

If I try to use a VirtualHost with a WSGIDaemonProcess reference, I get a 
similar error message about WSGIDaemonProcess.

>From online research, 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.

What am I missing here? Again, apologies if I am missing something obvious. 
Thanks!

Marc :-)

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to