apache - How can I get mod_wsgi working on Mac? -


i have been trying install latest version of mod_wsgi (3.3) since hours on mac. i'm on snow leopard , have versions of apache (apache/2.2.15) , python 2.6.1 (r261:67515) come system.

  1. i downloaded mod_wsgi-3.3.tar.gz http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-3.3.tar.gz

  2. extracted file , executed following through terminal:

    ./configure make sudo make install

  3. i added loadmodule wsgi_module modules/mod_wsgi.so httpd.conf.

  4. restarted apache disabling , enabling web sharing control panel.

  5. localhost stops working until remove line added httpd.conf :(

please help. in advance.

i use homebrew installed version of mod_wsgi. gives me universal version of mod_wsgi works vanilla apache.

➔  file `brew list mod_wsgi` /usr/local/cellar/mod_wsgi/3.2/libexec/mod_wsgi.so: mach-o universal binary 2 architectures /usr/local/cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture x86_64):   mach-o 64-bit bundle x86_64 /usr/local/cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture i386): mach-o bundle i386 

Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -