Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1287 closed defect (invalid)

Doc on TracMultipleProjects

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.1
Severity: normal Keywords: documentation install
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

I am using the 0.8.1 version on Windows 2000 with Apache. I followed the instructions on TracMultipleProjects, but didn’t worked until I changed this:

RewriteRule ^/projects/([[:alnum:]]+)(/?.*) \
            /projects/trac.cgi$2 [S=1,E=TRAC_ENV:c:/svn/$1]

to this:

RewriteRule ^/projects/([[:alnum:]]+)(/?.*) \
            /proyectos/trac.cgi$2 [S=1,E=TRAC_ENV:c:/svn/$1.db]

And this:

Alias /trac/ "C:/Python23/share/trac/htdocs"

to this:

Alias /projects/ "C:/Python23/share/trac/htdocs"

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 19 years ago

Description: modified (diff)
Keywords: documentation install added
Resolution: invalid
Status: newclosed

Well, of course you have to adjust the provided examples to your specific setup.

I don't know why your TRAC_ENV has a .db ending, it should a normal directory, not a database file.

I also don't actually believe that using /projects/ as URL for the static files (images, CSS, etc) will work correctly unless you also have made some other changes. /trac/ in the examples is for the static files, /projects/ is for the dynamic stuff.

comment:2 by Scott Gaitskell, 19 years ago

The reason for TRAC_ENV requiring a .db ending a direct result of the user setting up the trac database as per TracOnWindows.

Which states:

  1. Run trac-admin
    C:\Python23\Scripts> python trac-admin c:/svn/trac.db
    

I will assume that TracMultipleProjects expects the user to use c:\SVN for the subversion repositories, and then use c:\projects for the Trac databases.

So Project1 is setup like so:

c:\SVN\project1 ←- The Subversion repository c:\projects\project1 ←- The Trac database

Maybe someone should add TracBestPractices to the wiki.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.