Edgewall Software

Changes between Version 11 and Version 12 of TracMultipleProjects


Ignore:
Timestamp:
Jul 21, 2004, 6:28:58 PM (20 years ago)
Author:
mauricewalton
Comment:

Added windows version of conf section

Legend:

Unmodified
Added
Removed
Modified
  • TracMultipleProjects

    v11 v12  
    3030}}}
    3131
     32Or for windows systems:
     33{{{
     34RewriteEngine on
     35RewriteRule ^/projects/+$                       /projects/index.html [L]
     36#RewriteCond /var/lib/trac/$1                   -d
     37RewriteCond d:/svn/$1.db                                -d
     38RewriteRule ^/projects/([[:alnum:]]+)(/?.*)     /projects/trac.cgi$2 [S=1,E=TRAC_ENV:d:/svn/$1.db]
     39RewriteRule ^/projects/(.*)                     /projects/index.html
     40
     41<Directory "C:\Program Files\Apache Group\Apache2\htdocs\projects">
     42        AllowOverride None
     43        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
     44        AddHandler cgi-script .cgi
     45        Order allow,deny
     46        Allow from all
     47</Directory>
     48
     49<LocationMatch "/projects/[[:alnum:]]+/login">
     50        AuthType Basic
     51        AuthName "trac"
     52        AuthUserFile D:/svn/.htaccess
     53        Require valid-user
     54</LocationMatch>
     55}}}
     56
    3257Make sure you have the rewrite module loaded or compiled in Apache.
    3358