Changes between Version 75 and Version 76 of TracFastCgi
- Timestamp:
- Nov 22, 2011, 1:02:30 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v75 v76 19 19 The following sections focus on the FCGI specific setup, see also [wiki:TracModWSGI#ConfiguringAuthentication] for configuring the authentication in Apache. 20 20 21 === setup with `mod_fastcgi` ===21 === Set up with `mod_fastcgi` === 22 22 `mod_fastcgi` uses `FastCgiIpcDir` and `FastCgiConfig` directives that should be added to an appropriate Apache configuration file: 23 23 {{{ … … 36 36 calling `trac.fcgi` instead of `trac.cgi`. 37 37 38 You canset up the `TRAC_ENV` as an overall default:38 Add the following to the Apache configuration file (below the `FastCgiIpcDir` line) if you intend to set up the `TRAC_ENV` as an overall default: 39 39 {{{ 40 40 FastCgiConfig -initial-env TRAC_ENV=/path/to/env/trac 41 41 }}} 42 42 43 Or you can serve multiple Trac projects in a directory like:43 Alternatively, you can serve multiple Trac projects in a directory by adding this: 44 44 {{{ 45 45 FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/parent/dir/of/projects 46 46 }}} 47 47 48 === setup with `mod_fcgid` ===48 === Set up with `mod_fcgid` === 49 49 Configure `ScriptAlias` (see TracCgi for details), but call `trac.fcgi` 50 50 instead of `trac.cgi`. Note that slash at the end - it is important. … … 53 53 }}} 54 54 55 To set up Trac environment for `mod_fcgid` it is necessary to use55 To set up Trac environment for `mod_fcgid` it is necessary to use 56 56 `DefaultInitEnv` directive. It cannot be used in `Directory` or 57 57 `Location` context, so if you need to support multiple projects, try … … 223 223 server.modules += ("mod_alias") 224 224 225 # Set up an alias for the static resources225 # Set up an alias for the static resources 226 226 alias.url = ("/trac/chrome/common" => "/usr/share/trac/htdocs") 227 227