Edgewall Software

Changes between Version 62 and Version 63 of TracMultipleProjects


Ignore:
Timestamp:
Oct 18, 2005, 11:06:02 PM (19 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjects

    v62 v63  
    259259Here you are ! Don't forget to ''chown'' these files to {{{www-data}}}, and it should work !
    260260
     261
     262
     263----
     264'''User Contribution (using fastcgi)''':[[BR]]
     265 * Create a project directory and put your environments in it
     266 * Add "ScriptAlias /projects /var/www/localhost/cgi-bin/trac.fcgi"
     267 * Add "FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/var/www/localhost/htdocs/trac/projects/"
     268 * Add the <Location "/projects/projectname/login"> directive as mentioned above for each project (I have two Location directives for each project, one for /projects/projectname/login and one for /cgi-bin/trac.fcgi/projectname/login)
     269 * Add the following mod_rewrite rules:
     270   {{{ RewriteEngine on
     271       RewriteRule ^/cgi-bin/trac.fcgi/projects$                        /projects/projectname [R,L,NS]
     272   }}}
     273
     274Strangely enough, the one rewrite rule for just one project gets it working for both my projects. I'm not sure what that's all about but hey it works.
     275
    261276-------
    262277See also: TracGuide, TracInstall, TracMultipleProjectsWindows