We’re going to use Homebrew to install mod_wsgi. There is some extra step to install it, you can read https://github.com/Homebrew/homebrew-apache to have more information.

Then, load new Formulas into brew:

Finally install mod_wsgi

Once mod_wsgi installed, we’ll enable it in Apache: edit /etc/apache2/http.conf and add this line

Test the config and restart Apache if everything is ok:


Refrence: http://blog.manbolo.com/2013/05/02/build-and-deploy-a-django-project-on-osx-from-scratch

562 Total Views 2 Views Today

Leave a Reply

Your email address will not be published. Required fields are marked *