Edgewall Software

Changes between Version 5 and Version 6 of TracMultipleProjects


Ignore:
Timestamp:
May 31, 2004, 8:56:12 AM (20 years ago)
Author:
trac@…
Comment:

cleanup

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjects

    v5 v6  
    1 = Configure apache for multiple projects =
     1= Configure Apache for multiple projects =
    22
    3 By following these instruction you will get an Apache server that automatically handles multiple projects for you.
     3By following these instructions, you will set up Apache to automatically serve multiple Trac projects for you.
    44
    5 Start out by creating an projects directory in your documentroot (/var/www in this example). Projects will be accessed by http://hostname/projects/projectname. Copy (or symlink) trac.cgi to this directory together with a file named index.html. This will be showed when users try to access non-existing projects.
     5Start out by creating an projects 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 showed when users try to access nonexistent projects.
    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. Edit you apache config and add this:
     7Then 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:
    88
    99{{{
     
    3232Now, 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 to much work, replace it with a python cgi script that does it for you.
    3333
     34[source:trunk/README.tracd tracd] can also serve multiple projects.
     35
    3436----
    3537See also: TracGuide, TracInstall