Changes between Version 1 and Version 2 of TracFastCgi
- Timestamp:
- 2008-02-26T19:44:04Z (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v1 v2 2 2 3 3 Since 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 }}} 4 11 5 12 == Simple Apache configuration == … … 7 14 There are two FastCGI modules commonly available for Apache: `mod_fastcgi` and 8 15 `mod_fcgid`. The `FastCgiIpcDir` and `FastCgiConfig` directives discussed 9 below are `mod_fastcgi` directives; the `DefaultInitEnv` is a `mod_f gcid`16 below are `mod_fastcgi` directives; the `DefaultInitEnv` is a `mod_fcgid` 10 17 directive. 11 18 … … 293 300 URI: /trac/ <--- URI path to bind to python fcgi app we created 294 301 Fast CGI App: [VHost Level] MyTractFCGI <--- select the trac fcgi extapp we just created 295 Realm: TracUserDB <--- only if (4) is set. select rea m created in (4)302 Realm: TracUserDB <--- only if (4) is set. select realm created in (4) 296 303 }}} 297 304