Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#672 closed defect (fixed)

Clarify documentation about multiple-project install

Reported by: anonymous Owned by: daniel
Priority: normal Milestone: 0.8
Component: general Version: 0.8
Severity: normal Keywords: documentation, install
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi there,

I don't know much about apache internals and specially the rewrite module. So I'm not really able to understand the code snippet in this documentation. But if you could explain a little bit more what it does it will be nice.

"Projects will be accessed as http://hostname/projects/projectname. Copy (or symlink) trac.cgi to this directory together with a file named index.html."

In which directory /projects/projectname or /projects ?

"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."

Do I execute trac-admin once per project or once for all ? I can't create multiple trac.cgi in the same directory they are overwrited… And what is a exactly a trac project ? The subversion repository, the trac.cgi or the result of the execution of trac-admin ?

Attachments (0)

Change History (7)

comment:1 by anonymous, 20 years ago

Example when I create a project with trac admin a an already existing trac directory

$trac-admin /var/www/projects/CLUSTHUS/ initenv Initdb for '/var/www/projects/CLUSTHUS/' failed. Does aa environment already exist?

comment:2 by anonymous, 20 years ago

Apart from that, thanks for the good job. Keep on coding, it's an excellent project :)

comment:3 by anonymous, 20 years ago

On my private server there is an example of our working apache configuration: http://www.whylee.at/opensource/projectportal.zip

(please don't kill my internet connection on whylee.at) It also includes a web-gui written in php for adding users, projects, editing trac-permissions. I released it under GPL. If you can use it, fine. If you modify it and you think everone could use your modification, please send your modifications to me. ( whylee@… )

Geetings,

Weilhartner Stefan, 4ahead

comment:4 by daniel, 20 years ago

Keywords: documentation added
Milestone: 0.8
Owner: changed from Jonas Borgström to daniel
Summary: documentation about multiple project is not very comprehensibleClarify documentation about multiple-project install

comment:5 by Jonas Borgström, 20 years ago

Resolution: fixed
Status: newclosed

I think the current documentation is good enough. Of course it can always be improved but it shouldn't block Trac 0.8 any longer.

comment:6 by bencollins@…, 20 years ago

Keywords: install added
Resolution: fixed
Status: closedreopened
Version: 0.7.10.8

The TracMultipleProjects page has an error in one of the RewriteRule statemtents.

The rule: RewriteRule /projects/(:alnum:+)(/?.*) /projects/trac.cgi$2 [S=1,E=TRAC_ENV:/var/lib/trac/$1]

doesn't work (FreeBSD 5.3-RELEASE, apache-2.0.50). I have tried to play with it some, but I have been unsuccessful. My requests always get passed down to the third rule which dumps me back to index.html.

A couple of things: a) your example should work. b) your example should cover directory names that include dashes. I know you say to replace :alnum: with [/], but I haven't been able to get that or anything else to work (and I'm skeptical of [/] anyway). Have you considered using [:graph:]?

comment:7 by sam, 20 years ago

Resolution: fixed
Status: reopenedclosed

I've restructured and updated the TracMultipleProject documentation page. Hope you'll enjoy it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.