hi all wsgi gurus

my goal was to get several isolated trac no-site-packages virtualenvs
running under mod_wsgi: 0.11 virtualenv for bunch of live projets,
0.12-dev1 for project dev1 and 0.12-dev2 for project dev2. but i am
somewhat unclear regarding ApplicationGroups and ProcessGroups - some
setup guides did it one way, some the other. so i also seem to have a
mix in my config file. what about having both dev1 and dev2 both in
ApplicationGroup %{SERVER}%, should they be in separate AG, or does
separate PGs take care of that? perhaps someone could tell me if
there's something to be fixed here:

/etc/apache2/modules.d/70_mod_wsgi.conf:

<IfDefine WSGI>
LoadModule wsgi_module modules/mod_wsgi.so

WSGIDaemonProcess dev1 user=leho group=apache threads=25 python-path=/
secure/trac/virtual-0.12-dev1/lib/python2.5/site-packages:/secure/trac/
virtual-0.12-dev1/bin
WSGIScriptAlias /project/dev1 /secure/trac/virtual-0.12-dev1/bin/
virtual-0.12-dev1.wsgi
<Location /projekt/dev1>
        WSGIReloadMechanism Process
        WSGIProcessGroup dev1
        WSGIApplicationGroup %{SERVER}
        SetEnv trac.locale et_EE.UTF-8
</Location>

WSGIDaemonProcess dev2 user=leho group=apache threads=25 python-path=/
secure/trac/virtual-0.12-dev2/lib/python2.5/site-packages:/secure/trac/
virtual-0.12-dev2/bin
WSGIScriptAlias /project/dev2 /secure/trac/virtual-0.12-dev2/bin/
virtual-0.12-dev2.wsgi
<Location /projekt/dev2>
        WSGIReloadMechanism Process
        WSGIProcessGroup dev2
        WSGIApplicationGroup %{SERVER}
        SetEnv trac.locale et_EE.UTF-8
</Location>

WSGIScriptAlias /project /secure/trac/virtual-0.11/bin/
virtual-0.11.wsgi
<Directory /secure/trac/virtual-0.11/bin>
    WSGIApplicationGroup %{GLOBAL}
    SetEnv trac.locale et_EE.UTF-8
    SetEnv trac.env_index_template /secure/home/httpd/htdocs/project/
index.html
</Directory>

</IfDefine>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to