Changes between Version 1 and Version 2 of TracFastCgi


Ignore:
Timestamp:
Dec 31, 2005, 5:43:43 PM (18 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracFastCgi

    v1 v2  
    1 = Trac with FastCGI =
     1= Trac を FastCGI で使用する =
    22
    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.
     3バージョン 0.9 以降、 Trac は [http://www.fastcgi.com/ FastCGI] インタフェースをサポートするようになりました。 [wiki:TracModPython mod_python] 同様、 Trac を常駐させるため、外部の各リクエストに対して新しいプロセスを生成する CGI インタフェースよりも処理速度が速いです。その上 `mod_python` とは異なり [http://httpd.apache.org/docs/suexec.html SuEXEC] をサポートすることができます。また、より多くの種類の Web サーバにサポートされています。
    44
    5 == Simple Apache configuration ==
     5== 単純な Apache の設定 ==
    66{{{
    77# Enable fastcgi for .fcgi files
     
    1515}}}
    1616
    17 You can either setup the `TRAC_ENV` as an overall default:
     17`TRAC_ENV` を以下のように設定することができます:
    1818{{{
    1919FastCgiConfig -initial-env TRAC_ENV=/path/to/env/trac
    2020}}}
    2121
    22 Or you can serve multiple Trac projects in a directory like:
     22もしくは複数の Trac プロジェクトを扱っているときは、このように設定します:
    2323{{{
    2424FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/parent/dir/of/projects
    2525}}}
    2626
    27 Configure `ScriptAlias` or similar options as described in TracCgi, but calling `trac.fcgi` instead of `trac.cgi`.
     27`ScriptAlias` を設定するもしくは似たオプションが TracCgi で説明されていますが、 `trac.cgi` のかわりに `trac.fcgi` と呼びます。
    2828
    29 == Simple Lighttpd Configuration ==
     29== 単純な Lighttpd の設定 ==
    3030
    31 The FastCGI front-end was developed primarily for use with alternative webservers, such as [http://www.lighttpd.net/ lighttpd].
     31FastCGI フロントエンドは最初 [http://www.lighttpd.net/ lighttpd] のような、 Apache 以外の Web サーバのために開発されました。
    3232
    33 lighttpd is a secure, fast, compliant and very flexible web-server that has been optimized for high-performance
    34 environments.  It has a very low memory footprint compared to other web servers and takes care of CPU load.
     33lighttpd はセキュアで高速で、規格に準拠したとても柔軟な Web サーバで、高いパフォーマンスの環境で最適化されます。
     34他の Web サーバに比べて CPU や、メモリの占有率がとても少ないです。
    3535
    36 For using `trac.fcgi` with lighttpd add the following to your lighttpd.conf:
     36`trac.fcgi` を lighttpd で使用するためには、 lighttpd.conf に以下の行を追加します:
    3737{{{
    3838fastcgi.server = ("/trac" =>
     
    4848}}}
    4949
    50 Note that you will need to add a new entry to `fastcgi.server` for each separate Trac instance that you wish to run. Alternatively, you may use the `TRAC_ENV_PARENT_DIR` variable instead of `TRAC_ENV` as described  above.
     50動かしたい Trac のインスタンス毎に `fastcgi.server` のエントリを追加する必要があります。別の方法として、、上記の `TRAC_ENV` の代わりに `TRAC_ENV_PARENT_DIR` を使用できます。
    5151
    52 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.
     52その他重要な情報、例えば、 [http://trac.lighttpd.net/trac/wiki/TracInstall lighttpd の TracInstall] や、 [wiki:TracCgi#静的なリソースをマッピングする TracCgi] などは fast-cgi 固有ではありませんが、インストールの詳細をつかむのに有用でしょう。
    5353
    54 Relaunch lighttpd, and browse to `http://yourhost.example.org/trac` to access Trac.
    55 
     54lighttpd を再起動し、ブラウザに `http://yourhost.example.org/trac` を入力して、 Trac にアクセスして下さい。
    5655----
    57 See also TracCgi, TracModPython, TracInstall, TracGuide
     56See also: TracCgi, TracModPython, TracInstall, TracGuide