Edgewall Software

Changes between Version 63 and Version 64 of TracModWSGI


Ignore:
Timestamp:
Mar 23, 2015, 3:56:06 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Commented in example didn't start with a comment marker. Also fixed typo.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v63 v64  
    6565A 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.
    6666
    67 If you are 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: ''
    68 
    69 {{{#!python
    70   def application(environ, start_request):
    71       Add this to config when you have multiple projects                                             
    72       environ.setdefault('trac.env_parent_dir', '/usr/share/trac/projects') 
    73       ..
    74       ..
     67If you are using Trac with multiple projects, you can specify their common parent directory using the `TRAC_ENV_PARENT_DIR` in trac.wsgi: ''
     68
     69{{{#!python
     70def application(environ, start_request):
     71    # Add this to config when you have multiple projects                                             
     72    environ.setdefault('trac.env_parent_dir', '/usr/share/trac/projects') 
     73    ..
    7574}}}
    7675