# yum install mercurial httpd-devel
$ hg clone https://code.google.com/p/modwsgi/
$ cd modwsgi/mod_wsgi
$ ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python2.7
$ make
# make install
# vi /etc/httpd/conf/httpd.conf
LoadModule wsgi_module modules/mod_wsgi.so
References :
Running our Django site with mod_wsgi and virtualenv (part 2) | techno milk
沒有留言:
張貼留言