Firebird News

Tuesday, October 06, 2009

#nginx and #wsgi on #ubuntu howto

I wanted to install mod_wsgi for nginx on ubuntu here are some basic steps for compiling it


wget http://sysoev.ru/nginx/nginx-0.7.62.tar.gz
tar -zxvf nginx-0.7.62.tar.gz
hg clone http://hg.mperillo.ath.cx/nginx/mod_wsgi/


wget http://lophus.org/~fred/mod_wsgi_patch.diff
see why you need that patch
cd mod_wsgi/
patch -p1 < ../mod_wsgi_patch.diff
cd ..


cd nginx-0.7.62/
./configure --add-module=../mod_wsgi/ --with-debug
make
sudo make install
Post a Comment