Edgewall Software

Changes between Version 88 and Version 89 of TracFastCgi


Ignore:
Timestamp:
Sep 2, 2015, 8:49:19 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v88 v89  
    5252ScriptAlias /trac /path/to/www/trac/cgi-bin/trac.fcgi/
    5353}}}
     54
    5455Note the slash at the end.
    5556
     
    6667os.environ['TRAC_ENV'] = "/path/to/projectenv"
    6768}}}
     69
    6870or:
    6971{{{#!python
     
    156158Note that the above will result in different processes in any event, even if both are running from the same `trac.fcgi` script.
    157159
    158 {{{
    159 #!div class=important
     160{{{#!div class=important
    160161'''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.
    161162}}}
     
    198199
    199200}}}
     201
    200202Note that Lighttpd (v1.4.3) stops if the password file doesn't exist.
    201203
     
    273275                 )
    274276}}}
     277
    275278For details about languages specification see [trac:TracFaq TracFaq] question 2.13.
    276279
     
    332335== Nginx Configuration
    333336
    334 Nginx is 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.
    335338
    336339 1. Nginx configuration with basic authentication handled by Nginx - confirmed to work on 0.6.32
    337  {{{
     340 {{{#!nginx
    338341    server {
    339342        listen       10.9.8.7:443;
     
    398401}}}
    399402 1. Modified trac.fcgi:
    400  {{{
     403 {{{#!python
    401404#!/usr/bin/env python
    402405import os