Hoperrprime:Trac

From Earlham CS Department
Jump to navigation Jump to search
  1. Subversion
    1. Special compile for apr-svn w/ APR_UTIL_WITH_BERKELEY_DB=yes
    2. portinstall subversion
    3. svnadmin hotcopy to move Subversion over NFS
  2. Install mod_python-3.3.1 from ports
  3. Install trac-0.10.4 from ports (made sure Postgres support was enabled)
  4. Loaded trac_debian-cluster Postgres database from hopper with pgdump and psql
  5. Added Includes/trac.conf to apache configuration, based on TracModPython documentation.
Alias "/trac" "/cluster/trac"

<Location /trac>
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /cluster/trac
        PythonOption TracUriRoot /trac
</Location>

<Location "/trac/debian-cluster/login">
        AuthType Basic
        AuthName "Trac"
        AuthUserFile /cluster/trac/htpasswd
        require valid-user
</Location>