Changes between Version 88 and Version 89 of TracFastCgi
- Timestamp:
- Sep 2, 2015, 8:49:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v88 v89 52 52 ScriptAlias /trac /path/to/www/trac/cgi-bin/trac.fcgi/ 53 53 }}} 54 54 55 Note the slash at the end. 55 56 … … 66 67 os.environ['TRAC_ENV'] = "/path/to/projectenv" 67 68 }}} 69 68 70 or: 69 71 {{{#!python … … 156 158 Note that the above will result in different processes in any event, even if both are running from the same `trac.fcgi` script. 157 159 158 {{{ 159 #!div class=important 160 {{{#!div class=important 160 161 '''Note:''' The order in which the server.modules are loaded is very important: if mod_auth is not loaded '''before''' mod_fastcgi, then the server will fail to authenticate the user. 161 162 }}} … … 198 199 199 200 }}} 201 200 202 Note that Lighttpd (v1.4.3) stops if the password file doesn't exist. 201 203 … … 273 275 ) 274 276 }}} 277 275 278 For details about languages specification see [trac:TracFaq TracFaq] question 2.13. 276 279 … … 332 335 == Nginx Configuration 333 336 334 Nginxis able to communicate with FastCGI processes, but can not spawn them. So you need to start FastCGI server for Trac separately.337 [http://nginx.org/en/ Nginx] is able to communicate with FastCGI processes, but can not spawn them. So you need to start FastCGI server for Trac separately. 335 338 336 339 1. Nginx configuration with basic authentication handled by Nginx - confirmed to work on 0.6.32 337 {{{ 340 {{{#!nginx 338 341 server { 339 342 listen 10.9.8.7:443; … … 398 401 }}} 399 402 1. Modified trac.fcgi: 400 {{{ 403 {{{#!python 401 404 #!/usr/bin/env python 402 405 import os