Changes between Version 49 and Version 50 of TracFastCgi
- Timestamp:
- Nov 8, 2008, 8:44:53 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v49 v50 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 4 5 '''Note for Windows:''' Trac's FCGI does not run under Windows, as Windows does not implement `Socket.fromfd`, which is used by `_fcgi.py`. If you want to connect to IIS, your choice may be [ Trac:TracOnWindowsIisAjp AJP].5 '''Note for Windows:''' Trac's FCGI does not run under Windows, as Windows does not implement `Socket.fromfd`, which is used by `_fcgi.py`. If you want to connect to IIS, your choice may be [trac:TracOnWindowsIisAjp AJP]. 6 6 7 7 == Simple Apache configuration == … … 243 243 ) 244 244 }}} 245 For details about languages specification see TracFaqquestion 2.13.245 For details about languages specification see [trac:TracFaq TracFaq] question 2.13. 246 246 247 247 Other important information like [http://trac.lighttpd.net/trac/wiki/TracInstall this updated TracInstall page], [wiki:TracCgi#MappingStaticResources and this] are useful for non-fastcgi specific installation aspects. … … 256 256 257 257 258 == Simple LiteSpeed Configuration ==258 == Simple !LiteSpeed Configuration == 259 259 260 260 The FastCGI front-end was developed primarily for use with alternative webservers, such as [http://www.litespeedtech.com/ LiteSpeed]. 261 261 262 LiteSpeed web server is an event-driven asynchronous Apache replacement designed from the ground-up to be secure, scalable, and operate with minimal resources.LiteSpeed can operate directly from an Apache config file and is targeted for business-critical environments.262 !LiteSpeed web server is an event-driven asynchronous Apache replacement designed from the ground-up to be secure, scalable, and operate with minimal resources. !LiteSpeed can operate directly from an Apache config file and is targeted for business-critical environments. 263 263 264 264 Setup … … 317 317 }}} 318 318 319 7) Restart LiteSpeed, “lswsctrl restart”, and access your new Trac project at:319 7) Restart !LiteSpeed, “lswsctrl restart”, and access your new Trac project at: 320 320 321 321 {{{ … … 425 425 * /home/trac/run is owned by the same group the nginx runs under 426 426 * and if your system is Linux the /home/trac/run has setgid bit set (chmod g+s run) 427 * and patch from ticket # 7239 is applied, or you'll have to fix the socket file permissions every time427 * and patch from ticket #T7239 is applied, or you'll have to fix the socket file permissions every time 428 428 429 429 Unfortunately nginx does not support variable expansion in fastcgi_pass directive. … … 432 432 If you worry enough about security, run trac instances under separate users. 433 433 434 Another way to run trac as a FCGI external application is offered in ticket # 6224434 Another way to run trac as a FCGI external application is offered in ticket #T6224 435 435 436 436 ---- 437 See also TracCgi, TracModPython, TracInstall, TracGuide, [ Trac:TracNginxRecipe]437 See also TracCgi, TracModPython, TracInstall, TracGuide, [trac:TracNginxRecipe TracNginxRecipe]