Changes between Version 60 and Version 61 of TracModWSGI
- Timestamp:
- Dec 18, 2014, 7:44:17 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModWSGI
v60 v61 66 66 A somewhat 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). 67 67 68 If you're using Trac with multiple projects you can specify their common parent directory using the `TRAC_ENV_PARENT_DIR` in the trac.wsgi in trac.wsgi: '' 69 70 {{{#!python 71 def application(environ, start_request): 72 Add this to config when you have multiple projects 73 environ.setdefault('trac.env_parent_dir', '/usr/share/trac/projects') 74 .. 75 .. 76 }}} 68 77 69 78 == Mapping requests to the script