I would like to use Daemon mode of web2py to limit the number of web2py
instances I run.
I would also like specific web2py instances to serve specific applications.
Something like:
<Virtualhost *:80>
ServerName example.com
DocumentRoot /www/example1
WSGIDaemonProcess web2py1 user=www-user group=www-group processes=3
threads=5 \
display-name=%{GROUP}
WSGIProcessGroup web2py
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAliasMatch ^(/([^~].*|awstats.*)?)$
/var/www/web2py/wsgihandler.py$1
</Virtualhost>
<VirtualHost *:80>
ServerName example.com
DocumentRoot /www/example2
WSGIDaemonProcess web2py2 user=www-user group=www-group processes=3
threads=5 \
display-name=%{GROUP}
WSGIProcessGroup project2
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAliasMatch ^(/([^~].*|awstats.*)?)$
/var/www/web2py/wsgihandler.py$1
</Virtualhost>
Is this possible?
Thanks,
Guru
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.