Changes between Version 1 and Version 2 of TracModPython
- Timestamp:
- Jun 21, 2005, 1:13:35 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModPython
v1 v2 1 = Trac andmod_python =1 = Trac と mod_python = 2 2 3 Trac 0.7.1 and later supports [http://www.modpython.org/ mod_python], which speeds up Trac's response times considerably and permits use of many Apache features not possible with tracd/mod_proxy.3 Trac 0.7.1以降のバージョンでは[http://www.modpython.org/ mod_python]がサポートされています。[http://www.modpython.org/ mod_python]はTracのレスポンスタイムを飛躍的に向上し、tracd/mod_proxyでは使用できない多くのApache機能を使えるようにします。 4 4 5 == Simple configuration==5 == シンプルなコンフィギュレーション == 6 6 7 Here's a typical Trac CGI/Apache setup:7 標準的なTrac CGI/Apacheのセットアップは次のようになっています: 8 8 9 9 {{{ … … 14 14 }}} 15 15 16 The equivalent mod_python setup is:16 上記に対応するmod_pythonのセットアップは次のようになります: 17 17 18 18 {{{ … … 25 25 }}} 26 26 27 Note that the option ''TracUriRoot'' may or may not be necessary in your setup. Try without first, and if the URLs produced by Trac look wrong, add the ''TracUriRoot'' option. 27 ''TracUriRoot''オプションは不要な場合もありますのでご注意ください。まずは''TracUriRoot''オプションを付けずに試し、Tracが正しくURLを生成できないようであれば追加するようにしてください。 28 28 29 == Setting up multiple projects==29 == マルチプロジェクトのセットアップ == 30 30 31 T he Trac mod_python handler handler supports a configuration option similar to Subversion's {{{SvnParentPath}}}, called {{{TracEnvParentDir}}}:31 Tracのmod_pythonハンドラはサブバージョンの {{{SvnParentPath}}} とよく似た {{{TracEnvParentDir}}} というコンフィギュレーションオプションをサポートしています。 32 32 33 33 {{{ … … 40 40 }}} 41 41 42 When you request the {{{/projects}}} URL, you will get a (currently very simple) listing of all subdirectories of the directory you set as {{{TracEnvParentDir}}}. Selecting any project in the list will bring you to the corresponding Trac instance. You should make sure that the configured directory only contains Trac environment directories that match the currently installed Trac version, because that is not checked prior the the generation of the project list. 42 {{{/projects}}} のURLをリクエストすると、{{{TracEnvParentDir}}}として設定したディレクトリ配下のサブディレクトリ一覧(現行では非常にシンプルな)が表示されます。その一覧から何かプロジェクトを選択するとそれに該当するTracのインスタンスを開くことができます。設定したディレクトリの配下には必ず現在インストールされているバージョンにマッチするTrac Environmentのディレクトリのみが置かれているようにしてください。プロジェクトリストの生成前にはそのようなチェックがかからないからです。 43 43 44 44 45 === Adding authentication===45 === ユーザ認証の追加 === 46 46 47 Adding authentication is straightforward in both cases. For example:47 ユーザ認証の追加はどちらの場合も簡単です。次に例を示します: 48 48 49 49 {{{ … … 58 58 === Win32 Issues === 59 59 60 If you run trac with mod_python on Windows, attachments will not work. 60 Windows 上で mod_python から Trac を使用すると、ファイル添付機能が使用できません。 61 61 62 There is a (simple) workaround for this which is to apply the patch attached to 63 ticket [http://projects.edgewall.com/trac/ticket/554 #554].62 これについては(簡単な)回避策があります。 63 ticket[http://projects.edgewall.com/trac/ticket/554 #554]に添付されているパッチを適用してください。 64 64 65 65 66 66 ---- 67 See alsoTracGuide, TracInstall, TracMultipleProjects67 参考 TracGuide, TracInstall, TracMultipleProjects