blob: 0b463b7d05a7afe99a6c2cdc69b5821a8bfd0f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
To complete the install, run this commands:
trac-admin ${MY_HOSTROOT}/trac.db initdb
To add security, create a password database. This command is for Apache;
adjust for the webserver of your choice.
htpasswd2 -c ${MY_HOSTROOT}/trac.passwd <user>
Now, all you need to do is to configure your webserver. This would go
into Apache's .htaccess file; adjust for the webserver of your choice.
<Location "/cgi-bin/trac.cgi">
SetEnv TRAC_DB ${MY_HOSTROOT}/trac.db
</Location>
<Location "/cgi-bin/trac.cgi/login">
AuthType Basic
AuthName "trac"
AuthUserFile ${MY_HOSTROOT}/trac.passwd
Require valid-user
</Location>
|