Edgewall Software

Changes between Version 25 and Version 26 of TracFastCgi


Ignore:
Timestamp:
Mar 1, 2006, 1:40:16 PM (18 years ago)
Author:
C00I90WN
Comment:

fixed errors on the last submit

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v25 v26  
    157157}}}
    158158The technique can be easily adapted for use with multiple projects by creating aliases for each of them, and wrapping the fastcgi.server declarations inside conditional configuration blocks.
    159 Also there is another way to do handle multiple projects and it's to use TRAC_ENV_PARENT_DIR instead of trac env and use global auth, let's see an example:
    160 {{{
     159Also there is another way to handle multiple projects and it's to use TRAC_ENV_PARENT_DIR instead of TRAC_ENV and use global auth, let's see an example:
     160{{{
     161#  This is for handling multiple projects
    161162  alias.url       = ( "/trac/" => "/path/to/trac/htdocs/" )
    162163
     
    172173                      )
    173174                    )
    174 
     175#And here starts the global auth configuration
    175176  auth.backend = "htpasswd"
    176177  auth.backend.htpasswd.userfile = "/path/to/unique/htpassword/file/trac.htpasswd"