Difference between revisions of "Trac"
From Atomicorp Wiki
(New page: Installation of Trac on a Plesk server yum install trac) |
|||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
yum install trac | yum install trac | ||
+ | |||
+ | |||
+ | mkdir /var/www/trac | ||
+ | |||
+ | |||
+ | trac-admin /var/www/trac/ASL initenv | ||
+ | |||
+ | answer questions | ||
+ | |||
+ | |||
+ | edit /var/www/trac/ASL/conf/trac.ini | ||
+ | |||
+ | edit domains vhost.conf | ||
+ | |||
+ | <Location /trac/ASL> | ||
+ | SetHandler mod_python | ||
+ | PythonHandler trac.web.modpython_frontend | ||
+ | PythonOption TracEnv /var/www/trac/ASL | ||
+ | PythonOption TracUriRoot /trac/ASL | ||
+ | </Location> | ||
+ | |||
+ | <Location "/trac/ASL"> | ||
+ | AuthType Basic | ||
+ | AuthName "trac" | ||
+ | AuthUserFile /home/httpd/vhosts/central.int.progllc.com/pd/d..httpdocs@repos | ||
+ | Require valid-user | ||
+ | </Location> |
Latest revision as of 14:46, 15 November 2007
Installation of Trac on a Plesk server
yum install trac
mkdir /var/www/trac
trac-admin /var/www/trac/ASL initenv
answer questions
edit /var/www/trac/ASL/conf/trac.ini
edit domains vhost.conf
<Location /trac/ASL> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/www/trac/ASL PythonOption TracUriRoot /trac/ASL </Location>
<Location "/trac/ASL"> AuthType Basic AuthName "trac" AuthUserFile /home/httpd/vhosts/central.int.progllc.com/pd/d..httpdocs@repos Require valid-user </Location>