Edgewall Software
Home
Trac
Trac Hacks
Genshi
Babel
Bitten
Home
Download
Documentation
Mailing Lists
License
FAQ
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
+0
Start Page
Index
History
Editing TracFastCgi
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= Trac and FastCGI = There is a patch to Trac 0.8.1 available adding support for the [http://www.fastcgi.com/ FastCGI] interface. Like TracModPython, this allows trac to remain resident, and is faster than external CGI interfaces which must start a new process for each page view. However, unlike mod_python, it is able to support [http://httpd.apache.org/docs/suexec.html SuEXEC]. Additionaly, it is supported by much wider variety of webservers. == The patch == * http://bdash.net.nz/files/trac-fcgi-0.patch * [http://article.gmane.org/gmane.comp.version-control.subversion.trac.general/2294 Mailing List thread] == Simple configuration == {{{ # Enable fastcgi for .fcgi files # if using a distro package for mod_fcgi, something like this is probably already done <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi FastCgiIpcDir /var/lib/apache2/fastcgi </IfModule> LoadModule fastcgi_module /usr/lib/apache2/modules/mod_fastcgi.so }}} You can either setup the TRAC_ENV as an overall default: {{{ FastCgiConfig -initial-env TRAC_ENV=/path/to/env/trac }}} Or '''NOT VERIFIED''' you should be able to do it per-directory as described in TracInstall for normal CGIs. Configure ScriptAlias or similr options as described in TracInstall, but calling cgi-bin/trac.fcgi instead of cgi-bin/trac.cgi ---- See also TracGuide, TracInstall, TracMultipleProjects
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.