Changes between Version 25 and Version 26 of TracFastCgi
- Timestamp:
- Mar 1, 2006, 1:40:16 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v25 v26 157 157 }}} 158 158 The 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 {{{ 159 Also 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 161 162 alias.url = ( "/trac/" => "/path/to/trac/htdocs/" ) 162 163 … … 172 173 ) 173 174 ) 174 175 #And here starts the global auth configuration 175 176 auth.backend = "htpasswd" 176 177 auth.backend.htpasswd.userfile = "/path/to/unique/htpassword/file/trac.htpasswd"