Changes between Version 1 and Version 2 of TracFastCgi


Ignore:
Timestamp:
Jan 6, 2015 2:35:12 PM (3 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v1 v2  
    371371
    372372 1. Nginx configuration with basic authentication handled by Nginx - confirmed to work on 0.6.32
    373 {{{
     373 {{{
    374374    server {
    375375        listen       10.9.8.7:443;
     
    415415            # (Or ``fastcgi_param  SCRIPT_NAME  /some/prefix``.)
    416416            fastcgi_param  SCRIPT_NAME        "";
    417             fastcgi_param  PATH_INFO          $path_info;
     417            fastcgi_param  PATH_INFO           $fastcgi_script_name;
    418418
    419419            ## WSGI NEEDED VARIABLES - trac warns about them
     
    438438    }
    439439}}}
    440 
    441  2. Modified trac.fcgi:
    442 
    443 {{{
     440 1. Modified trac.fcgi:
     441 {{{
    444442#!/usr/bin/env python
    445443import os
     
    472470
    473471}}}
    474 
    475  3. reload nginx and launch trac.fcgi like that:
    476 
    477 {{{
     472 1. reload nginx and launch trac.fcgi like that:
     473 {{{#!sh
    478474trac@trac.example ~ $ ./trac-standalone-fcgi.py
    479475}}}