Changes between Version 4 and Version 5 of TracFastCgi


Игнорировать:
Время:
10 апр. 2011 г., 17:54:27 (15 лет назад)
Автор:
trac
Комментарий:

--

Обозначения:

Без изменений
Добавлено
Удалено
Изменено
  • TracFastCgi

    v4 v5  
    9494After doing this, we will just have to create a new rule managed by the SCGI handler to access Trac. It can be created in a new virtual server, trac.example.net for instance, and will only need two rules. The '''default''' one will use the SCGI handler associated to the previously created information source.
    9595The second rule will be there to serve the few static files needed to correctly display the Trac interface. Create it as ''Directory rule'' for ''/chrome/common'' and just set it to the ''Static files'' handler and with a ''Document root'' that points to the appropriate files: ''/usr/share/trac/htdocs/''
     96
     97Note:\\
     98If 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.\\
     99Python-flup is a dependency which provides trac with SCGI capability. You can install it on debian based systems with:
     100{{{
     101sudo apt-get install python-flup
     102}}}
    96103
    97104== Simple Lighttpd Configuration ==
     
    424431    raise
    425432except Exception, e:
    426     print 'Content-Type: text/plain
    427 
    428 ',
     433    print 'Content-Type: text/plain\r\n\r\n',
    429434    print 'Oops...'
    430435    print