Changes between Initial Version and Version 1 of Trac


Ignore:
Timestamp:
02/22/08 17:30:36 (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Trac

    v1 v1  
     1= Trac =
     2
     3{{{
     4# echo www-apps/trac cgi sqlite vhosts >> /etc/portage/packages.use
     5# emerge trac
     6}}}
     7
     8trac-admin:
     9{{{
     10# mkdir -p /var/lib/trac/web1/project1
     11# chown -R apache:root /var/lib/trac/web1
     12# trac-admin /var/lib/trac/web1/project1 initenv (use default values)
     13}}}
     14You may now configure the environment by editing the file: /var/lib/trac/web1/project1/conf/trac.ini[[BR]]
     15
     16Create a http password file by:
     17{{{
     18htpasswd2 -c /var/lib/trac/web1/trac.htpasswd admin
     19}}}
     20
     21In ISPConfig go to the site (thinkthinkdo.com) and enter something like the following into the field "Apache Directives (Optional)":
     22{{{
     23        ScriptAlias /trac /var/www/web1/cgi-bin/trac.cgi
     24        <Location /trac>
     25                SetEnv TRAC_ENV_PARENT_DIR "/var/lib/trac/web1"
     26        </Location>
     27        <Location /trac/project1/login>
     28                AuthType Basic
     29                AuthName "Trac"
     30                AuthUserFile /var/lib/trac/web1/trac.htpasswd
     31                Require valid-user
     32        </Location>
     33}}}