Sections
Trac multi-site / privée|public
Source des instructions: trac et TracInstall
apt-get install trac libapache2-mod-python a2enmod mod_python /etc/init.d/apache2 restart mkdir /var/trac svnadmin create /var/lib/subversion/package trac-admin /var/trac/package initenv trac-admin /var/trac/package permission remove anonymous WIKI_CREATE WIKI_MODIFY TICKET_CREATE TICKET_MODIFY trac-admin /var/trac/package permission add YourUser TRAC_ADMIN chgrp -R www-data /var/trac/package/db chmod -R g+w /var/trac/package/db # dans le fichiers apache du virtual host <Location /forge/> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /var/trac PythonOption TracUriRoot /tracs PythonOption TracEnvIndexTemplate /var/trac/index.py PythonOption TracUriPrivateRedirection / </Location> <LocationMatch "/forge/[^/]+/login"> AuthType Basic AuthName "Trac" AuthUserFile /var/lib/subversion/svnusers Require valid-user </LocationMatch> # Patches pour trac 0.10.3-1etch2: cp /usr/share/python-support/trac/trac/web/main.py{,.orig}
Dernière modification: 2014-05-22 07:48:27 par Yan Morin
Hébergé par ProgYSM