Changes between Version 89 and Version 90 of TracFastCgi
- Timestamp:
- Sep 2, 2015, 1:59:35 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFastCgi
v89 v90 100 100 The second rule will be there to serve the few static files needed to correctly display the Trac interface. Create it as ''Directory rule'' for ''/common'' and just set it to the ''Static files'' handler and with a ''Document root'' that points to the appropriate files: ''$TRAC_LOCAL/htdocs/'' (where $TRAC_LOCAL is a directory defined by the user or the system administrator to place local Trac resources). 101 101 102 '''Note:''' If the tracd process fails to start up, and Cherokee displays a 503 error page, you might be missing the [http://trac.saddi.com/flup python-flup] package ( #9903). Python-flup is a dependency which provides Trac with SCGI capability. You can install it on Debian based systems with:102 '''Note:''' If the tracd process fails to start up, and Cherokee displays a 503 error page, you might be missing the [http://trac.saddi.com/flup python-flup] package ([trac:#9903]). Python-flup is a dependency which provides Trac with SCGI capability. You can install it on Debian based systems with: 103 103 {{{#!sh 104 104 sudo apt-get install python-flup … … 443 443 * `/home/trac/run` is owned by the same group the Nginx runs under 444 444 * and if your system is Linux the `/home/trac/run` has setgid bit set (`chmod g+s run`) 445 * and patch from #7239is applied, or you'll have to fix the socket file permissions every time445 * and patch from [trac:#7239] is applied, or you'll have to fix the socket file permissions every time 446 446 447 447 Unfortunately Nginx does not support variable expansion in fastcgi_pass directive. … … 450 450 If you worry enough about security, run Trac instances under separate users. 451 451 452 Another way to run Trac as a FCGI external application is offered in #6224.452 Another way to run Trac as a FCGI external application is offered in [trac:#6224]. 453 453 454 454 ----