Changes between Version 4 and Version 5 of TracModWSGI
- Timestamp:
- 2019-07-17T11:42:42-03:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModWSGI
v4 v5 11 11 A robust and generic version of this file can be created using the `trac-admin <env> deploy <dir>` command which automatically substitutes the required paths, see TracInstall#cgi-bin. The script should be sufficient for most installations and users not wanting more information can proceed to [#Mappingrequeststothescript configuring Apache]. 12 12 13 If you are using Trac with multiple projects, you can specify their common parent directory using the `TRAC_ENV_PARENT_DIR` in trac.wsgi :13 If you are using Trac with multiple projects, you can specify their common parent directory using the `TRAC_ENV_PARENT_DIR` in trac.wsgi (note that this directory should contain //only// Trac environments, no other sub-directories): 14 14 {{{#!python 15 15 def application(environ, start_request): 16 # Add this to configwhen you have multiple projects16 # Add this when you have multiple projects 17 17 environ.setdefault('trac.env_parent_dir', '/usr/share/trac/projects') 18 18 ..