#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 )
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 , 21 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | documentation install added |
| Resolution: | → invalid |
| Status: | new → closed |
comment:2 by , 21 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:
- 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.



Well, of course you have to adjust the provided examples to your specific setup.
I don't know why your TRAC_ENV has a
.dbending, 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.