Changes between Version 1 and Version 2 of TracFastCgi


Ignore:
Timestamp:
2007-12-19T17:55:53Z (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v1 v2  
    22
    33Since version 0.9, Trac supports being run through the [http://www.fastcgi.com/ FastCGI] interface. Like [wiki:TracModPython mod_python], this allows Trac to remain resident, and is faster than external CGI interfaces which must start a new process for each request. However, unlike mod_python, it is able to support [http://httpd.apache.org/docs/suexec.html SuEXEC]. Additionally, it is supported by much wider variety of web servers.
     4
     5{{{
     6#!html
     7<p style="background: #fdc; border: 2px solid #d00; font-style: italic; padding: 0 .5em; margin: 1em 0;">
     8<strong>Note for Windows:</strong> Trac's FCGI does not run under Windows, as Windows does not implement Socket.fromfd, which is used by _fcgi.py
     9</p>
     10}}}
    411
    512== Simple Apache configuration ==
     
    714There are two FastCGI modules commonly available for Apache: `mod_fastcgi` and
    815`mod_fcgid`.  The `FastCgiIpcDir` and `FastCgiConfig` directives discussed
    9 below are `mod_fastcgi` directives; the `DefaultInitEnv` is a `mod_fgcid`
     16below are `mod_fastcgi` directives; the `DefaultInitEnv` is a `mod_fcgid`
    1017directive.
    1118
     
    293300URI: /trac/                              <--- URI path to bind to python fcgi app we created   
    294301Fast CGI App: [VHost Level] MyTractFCGI  <--- select the trac fcgi extapp we just created
    295 Realm: TracUserDB                        <--- only if (4) is set. select ream created in (4)
     302Realm: TracUserDB                        <--- only if (4) is set. select realm created in (4)
    296303}}}
    297304