On Wed, Jul 29, 2009 at 6:23 AM, cracklinux crack<[email protected]> wrote: > > hi, > i have added trac.conf in /etc/httpd/conf.d which will include in > httpd.conf. > so my trac.conf is > > <Location /svn/trac/first_pro> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /svn/trac/first_pro > PythonOption TracUriRoot /svn/trac/first_pro > > AuthType Basic > AuthName "trac browser" > AuthPAM_Enabled on > Require group ocusers > Require valid-user > </Location> > > where /svn/trac/first_pro is created according to my repository (svn) > project first_pro > and have around 30 projects so i think its not best way to add 30 > blocks like this so what is the solution to make things easy. > and have to run "trac-admin /svn/trac/first_pro initenv" this for > every project is it standard we need follow are is there any other > specific thing that can auto search in repose and do with one time > taking configs. i don't know it exist are not for better > administration iam asking this.
Use TracEnvParentDir: http://trac.edgewall.org/wiki/TracModPython#Settingupmultipleprojects --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
