Edgewall Software

Changes between Version 24 and Version 25 of TracModWSGI


Ignore:
Timestamp:
Jun 10, 2009, 10:55:16 AM (15 years ago)
Author:
cdevienne@…
Comment:

The wrong environment variable was used in an explanation.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v24 v25  
    2020The `TRAC_ENV` variable should naturally be the directory for your Trac environment (if you have several Trac environments in a directory, you can also use `TRAC_ENV_PARENT_DIR` instead), while the `PYTHON_EGG_CACHE` should be a directory where Python can temporarily extract Python eggs.
    2121
    22 '''Important note:''' If you're using multiple `.wsgi` files (for example one per Trac environment) you must ''not'' use `os.environ['PYTHON_EGG_CACHE']` to set the path to the Trac environment. Using this method may lead to Trac delivering the content of another Trac environment. (The variable may be filled with the path of a previously viewed Trac environment.) To solve this problem, use the following `.wsgi` file instead:
     22'''Important note:''' If you're using multiple `.wsgi` files (for example one per Trac environment) you must ''not'' use `os.environ['TRAC_ENV']` to set the path to the Trac environment. Using this method may lead to Trac delivering the content of another Trac environment. (The variable may be filled with the path of a previously viewed Trac environment.) To solve this problem, use the following `.wsgi` file instead:
    2323
    2424{{{