Changes between Version 4 and Version 5 of Ubuntu-10.04-Bazaar
- Timestamp:
- Oct 22, 2010, 10:17:17 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ubuntu-10.04-Bazaar
v4 v5 203 203 }}} 204 204 205 If 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 216 You 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 205 228 We 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. 206 229