Edgewall Software

Changes between Version 4 and Version 5 of Ubuntu-10.04-Bazaar


Ignore:
Timestamp:
Oct 22, 2010, 10:17:17 PM (14 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-10.04-Bazaar

    v4 v5  
    203203}}}
    204204
     205If you have login trouble with this code, (Because login link is http://localhost/newproject/login)
     206
     207{{{
     208   <Location "/trac/login">
     209     AuthType Basic
     210     AuthName "Trac"
     211     AuthUserFile /var/tracprojects/.htpasswd
     212     Require valid-user
     213    </Location>
     214}}}
     215
     216You can use this code
     217
     218{{{
     219    <Location "/newproject/login">
     220     AuthType Basic
     221     AuthName "Trac"
     222     AuthUserFile /var/tracprojects/.htpasswd
     223     Require valid-user
     224    </Location>
     225}}}
     226
     227
    205228We will use the same .htpasswd to authenticate bzr users as the trac install. Anyone you give access to trac will have write access to the bzr repo. You can change the bzr.wsgi setting readonly to true to disable any write access (see below). You could also create a different .htpasswd to seperate trac from bzr or require certain users by changing Require valid-user to Require admin.
    206229