I have been trying to install the latest version of mod_wsgi (3.3) since hours on my Mac. I'm on Snow Leopard and I have the versions of Apache (Apache/2.2.15) and Python 2.6.1 (r261:67515) that come with the system.
-
I downloaded mod_wsgi-3.3.tar.gz from http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-3.3.tar.gz
-
Extracted the file and executed the following through terminal:
./configure
make
sudo make install -
I added LoadModule wsgi_module modules/mod_wsgi.so to my httpd.conf.
-
Restarted Apache by disabling and enabling Web Sharing from the control panel.
-
localhost stops working until I remove the line I added httpd.conf 🙁
Please help. Thanks in advance.
Best Answer
I use the homebrew installed version of
mod_wsgi
. That gives me a universal version ofmod_wsgi
that works with the vanilla apache.