LoadModule wsgi_module lib/apache/mod_wsgi.so #Alias /wsgi-scripts/ /web/wsgi-scripts/ # #SetHandler wsgi-script #Options +ExecCGI # #virtualhost that use process with wsgi #WSGIDaemonProcess default processes=2 threads=25 # # #ServerName www.site.com # #WSGIDaemonProcess bob:1 user=bob group=bob threads=25 #WSGIDaemonProcess bob:2 user=bob group=bob threads=25 #WSGIDaemonProcess bob:3 user=bob group=bob threads=25 # #WSGIDaemonProcess joe:1 user=joe group=joe threads=25 #WSGIDaemonProcess joe:2 user=joe group=joe threads=25 #WSGIDaemonProcess joe:3 user=joe group=joe threads=25 # #SetEnv PROCESS_GROUP default #WSGIProcessGroup %{ENV:PROCESS_GROUP} # # #Options ExecCGI #AllowOverride FileInfo #AddHandler wsgi-script .wsgi #WSGIRestrictProcess bob:1 bob:2 bob:3 #SetEnv PROCESS_GROUP bob:1 # #