Trac Setup
- Install the trac via RPM
> sudo yum install trac # FedoraCore 6, CentOS 5 or higher > sudo yum install mod_python
- httpd settings
<VirtualHost *:80> ServerAdmin leo@xerial.org ServerName trac.utgenome.org DocumentRoot (root folder of the trac web server, e.g. /home/web/trac.utgenome.org) ErrorLog logs/trac-utgenome-error_log CustomLog logs/trac-utgenome-access_log common RewriteEngine on RewriteRule ^/$ /project [R] <Location /project> Options FollowSymLinks SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir (path to the trac env folder) PythonOption TracUriRoot /project SetEnv PYTHON_EGG_CACHE (path to the trac cache folder) PythonDebug on </Location> <LocationMatch "/project/[^/]+/login"> AuthType Basic AuthName "Trac" AuthUserFile (path to the .htpasswd file) Require valid-user </LocationMatch> </VirtualHost>
Install Trac Plug-ins
- install the XMLRPC-plugin and WebAdmin?-plugin
Last modified 18 years ago
Last modified on 08/03/07 10:24:40