Edgewall Software

Changes between Version 75 and Version 76 of TracFastCgi


Ignore:
Timestamp:
Nov 22, 2011, 1:02:30 AM (12 years ago)
Author:
Andrew C Martin <andrew.c.martin@…>
Comment:

clarifying FastCgiConfig directions. Minor grammar issues.

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v75 v76  
    1919The following sections focus on the FCGI specific setup, see also [wiki:TracModWSGI#ConfiguringAuthentication] for configuring the authentication in Apache.
    2020
    21 === setup with `mod_fastcgi` ===
     21=== Set up with `mod_fastcgi` ===
    2222`mod_fastcgi` uses `FastCgiIpcDir` and `FastCgiConfig` directives that should be added to an appropriate Apache configuration file:
    2323{{{
     
    3636calling `trac.fcgi` instead of `trac.cgi`.
    3737
    38 You can set up the `TRAC_ENV` as an overall default:
     38Add the following to the Apache configuration file (below the `FastCgiIpcDir` line) if you intend to set up the `TRAC_ENV` as an overall default:
    3939{{{
    4040FastCgiConfig -initial-env TRAC_ENV=/path/to/env/trac
    4141}}}
    4242
    43 Or you can serve multiple Trac projects in a directory like:
     43Alternatively, you can serve multiple Trac projects in a directory by adding this:
    4444{{{
    4545FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/parent/dir/of/projects
    4646}}}
    4747
    48 === setup with `mod_fcgid` ===
     48=== Set up with `mod_fcgid` ===
    4949Configure `ScriptAlias` (see TracCgi for details), but call `trac.fcgi`
    5050instead of `trac.cgi`. Note that slash at the end - it is important.
     
    5353}}}
    5454
    55 To setup Trac environment for `mod_fcgid` it is necessary to use
     55To set up Trac environment for `mod_fcgid` it is necessary to use
    5656`DefaultInitEnv` directive. It cannot be used in `Directory` or
    5757`Location` context, so if you need to support multiple projects, try
     
    223223server.modules += ("mod_alias")
    224224
    225 # Setup an alias for the static resources
     225# Set up an alias for the static resources
    226226alias.url = ("/trac/chrome/common" => "/usr/share/trac/htdocs")
    227227