Difference between revisions of "Trac"
From Atomicorp Wiki
Line 14: | Line 14: | ||
edit /var/www/trac/ASL/conf/trac.ini | 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>