Changes between Version 3 and Version 4 of TracStandalone
- Timestamp:
- Dec 31, 2005, 5:43:43 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v3 v4 1 1 = Tracd = 2 2 3 Tracd is a lightweight standalone Trac web server. In most cases it's easier to setup and runs faster than the [wiki:TracCgi CGI script].3 Tracd は軽量なスタンドアロンの Trac web サーバです。ほとんどのケースでは [wiki:TracCgi CGI] よりセットアップが簡単で、処理速度も速くなります。 4 4 5 == Pros==5 == 利点 == 6 6 7 * Fewer dependencies: You don't need to install apache or any other web-server.8 * Fast: Should be as fast as the [wiki:TracModPython mod_python] version (and much faster than the [wiki:TracCgi CGI]).7 * 依存性が低い: apache その他 web サーバをインストールする必要がありません。 8 * 速い: TracModPython バージョン並みに速いはずです ([wiki:TracCgi CGI] よりはずっと速い)。 9 9 10 == Cons==10 == 欠点 == 11 11 12 * Less features: Tracd implements a very simple web-server and is not as configurable as Apache HTTPD.13 * No native HTTPS support: [http://www.rickk.com/sslwrap/ sslwrap] can be used instead,14 or [http://lists.edgewall.com/archive/trac/2005-August/004381.html STUNNEL].12 * 機能が少ない: Tracd に実装されている web サーバはとてもシンプルで、 Apache HTTPD のような詳細なコンフィグレーションはできません。 13 * ネイティブで HTTPS をサポートしない: 代わりに [http://www.rickk.com/sslwrap/ sslwrap] または 14 [http://lists.edgewall.com/archive/trac/2005-August/004381.html STUNNEL] を使うことができます。 15 15 16 == Usage examples==16 == 使用例 == 17 17 18 A single project on port 8080.(http://localhost:8080/)18 ポート 8080 に単一のプロジェクトを作成します。 (http://localhost:8080/) 19 19 {{{ 20 20 $ tracd -p 8080 /path/to/project 21 21 }}} 22 With more than one project. (http://localhost:8080/project1/ andhttp://localhost:8080/project2/)22 複数のプロジェクト(http://localhost:8080/project1/ と http://localhost:8080/project2/) 23 23 {{{ 24 24 $ tracd -p 8080 /path/to/project1 /path/to/project2 25 25 }}} 26 26 27 You can't have the last portion of the path identical between the projects since that's how trac keeps the URLs of the 28 different projects unique. So if you use /project1/path/to and /project2/path/to, you will only see the second project. 27 trac は異なったプロジェクトの URL の一意性をパスの後方で保持するため、プロジェクト間でこれらを同じにすることは出来ません。 28 もし /project1/path/to と /project2/path/to を同時に指定した場合、二つ目のプロジェクトだけしか見えなくなります。 29 29 30 == Using Authentication==30 == 認証を使用する == 31 31 32 Tracd provides support for both Basic and Digest authentication. The default is to use Digest; to use Basic authentication, replace `--auth` with `--basic-auth` in the examples below, and omit the realm.32 Tracd は基本認証とダイジェスト認証の両方をサポートします。デフォルトはダイジェスト認証です; 基本認証を使用するためには、以降の例で使用する `--auth` を `--basic-auth` に置き換え、レルムの指定を削除して下さい。 33 33 34 If the file `/path/to/users.htdigest` contain user accounts for project1 with the realm "mycompany.com", you'd use the following command-line to start tracd:34 ファイル `/path/to/users.htdigest` に project1 のユーザアカウントをレルム "mycompany.com" として保持している場合、以下に示すコマンドラインで tracd を起動します: 35 35 {{{ 36 36 $ tracd -p 8080 --auth project1,/path/to/users.htdigest,mycompany.com /path/to/project1 37 37 }}} 38 ''Note that the project “name” passed to the `--auth` option is actually the base name of the project environment directory.""38 ''Note: `--auth` オプションで指定するプロジェクトの "名前" は、実際には そのプロジェクトの TracEnvironment ディレクトリの basename です。'' 39 39 40 Of course, the digest file can be be shared so that it is used for more than one project:40 もちろん、ダイジェストファイルは複数のプロジェクト間で共有することが出来ます: 41 41 {{{ 42 42 $ tracd -p 8080 \ … … 46 46 }}} 47 47 48 == Generating Passwords Without Apache==48 == Apache 以外の環境でパスワードを生成する == 49 49 50 If you don't have Apache available, you can use this simple Python script to generate your passwords:50 もし Apache が使用できない場合でも、簡単な Python スクリプトでパスワードを生成できます: 51 51 52 52 {{{