Changes between Version 1 and Version 2 of TracMultipleProjects


Ignore:
Timestamp:
Jun 21, 2005, 1:13:36 AM (19 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjects

    v1 v2  
    1 = Configure Apache for multiple projects =
     1= 複数のプロジェクト用にApacheを設定する =
    22
    3 By following these instructions, you will set up Apache to automatically serve multiple Trac projects for you.
     3以下の手順に従うと、自動的に複数のTracのプロジェクトを扱うよう、Apacheをセットアップすることができます。
    44
    5 Start out by creating a project directory in your documentroot (/var/www in this example). Projects will be accessed as http://hostname/projects/projectname. Copy (or symlink) trac.cgi to this directory together with a file named index.html. This will be shown when users try to access nonexistent projects.
     5最初に、サーバのドキュメントルート(例:/var/www)にTracプロジェクトのディレクトリを作ってください。プロジェクトはhttp://hostname/projects/プロジェクト名 でアクセスすることができます。index.htmlという名前のファイルと共にtrac.cgiというファイルをこのディレクトリにコピー(またはシンボリックリンク)して下さい。ユーザが存在しないプロジェクトにアクセスしようとしたときに、プロジェクト名が表示されます。
    66
    7 Then create your trac projects with trac-admin. It's important that they are all placed in the same directory. In this example we'll use /var/lib/trac. Add to your Apache configuration:
     7そして、trac-adminコマンドを使用して、Tracのプロジェクトを新規に作成してください。すべてのプロジェクトはすべて同じディレクトリに置かれることが重要です。この例では、/var/lib/tracを使用しています。Apacheのコンフィグレーションに追加してください:
    88
    99{{{
     
    3030}}}
    3131
    32 Make sure you have the rewrite module loaded or compiled in Apache.
     32rewrite_moduleがApacheの中で実行またはコンパイルされていることを確認してください。
    3333
    3434{{{LoadModule rewrite_module modules/mod_rewrite.so}}}
    3535
    36 Now, when you add another project, you don't need to edit any apache config. The only file you may want to edit is index.html to make it list the new project. If you think this is too much work, replace it with a python cgi script that does it for you.
     36そして、他のプロジェクトを追加したとき、もうApacheのコンフィグを編集する必要がありません。新しいプロジェクト名をindex.htmlのリストに追加したいかもしれません。もし、index.htmlのリストを編集するのに負担を感じたら、pythonのcgiスクリプトに置き換えることができます。
    3737
    38 [wiki:TracStandalone tracd] and TracModPython can also serve multiple projects.
     38[wiki:TracStandalone tracd]とTracModPython もまた複数のプロジェクトを扱うことができます。
    3939
    4040
    4141----
    42 See also: TracGuide, TracInstall
     42参考: TracGuide, TracInstall