Edgewall Software

Changes between Version 3 and Version 4 of TracModWSGI


Ignore:
Timestamp:
Sep 30, 2007, 1:25:14 PM (17 years ago)
Author:
Manuzhai
Comment:

Add WSGIApplicationGroup and some explanation.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v3 v4  
    2525
    2626<Directory /usr/local/trac/mysite/apache>
     27    WSGIApplicationGroup %{GLOBAL}
    2728    Order deny,allow
    2829    Allow from all
     
    3031}}}
    3132
    32 Here, the script is in a subdirectory of the Trac environment. In order to let Apache run the script, access to the directory in which the script resides is opened up to all of Apache. Restart Apache, and then it should work.
     33Here, the script is in a subdirectory of the Trac environment. In order to let Apache run the script, access to the directory in which the script resides is opened up to all of Apache. Additionally, Trac is always run in the first Python interpreter created by mod_wsgi; this is necessary because the Subversion Python bindings, which are used by Trac, don't always work in other subinterpreters and may crash Apache as a result. After adding this configuration, restart Apache, and then it should work.
    3334
    3435See also the mod_wsgi [http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac installation instructions] for Trac.