Trac

From CDOT Wiki
Revision as of 16:38, 19 December 2012 by Jacwang (talk | contribs) (Created page with '===Trac Configuration files=== */etc/httpd/conf.d/trac.conf ** Apache Configuration file ** Handles mod_python, authentication options and splash page */etc/httpd/htpasswd/trac.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Trac Configuration files

  • /etc/httpd/conf.d/trac.conf
    • Apache Configuration file
    • Handles mod_python, authentication options and splash page
  • /etc/httpd/htpasswd/trac.htpasswd
    • Users File
  • /etc/trac/trac.ini
    • Main configuration file. Options set here are applied to all instances
    • Plugins need to be controlled on an instance by instance basis
  • /var/www/html/trac/{INSTANCE_NAME/conf/trac.ini
    • Instance configuration file. Overrides option sset in global


Setting Up a new instance

  1. connect to mysql server
    1. CREATE DATABASE instancename DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
    2. grant all on instancename.* to 'tracuser'@'localhost' identified by 'password';
  2. On rome: run trac-admin instancename initenv
    1. connection string should be mysql://tracuser:password@localhost/instancename
  3. Profit