Replace the multiple project directive with directives for each project:

<Location /tracsite>
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /myserver/trac/tracsite
  PythonOption TracUriRoot /tracsite
  PythonInterpreter main_interpreter
  PythonPath "sys.path + ['/usr/lib/python2.4/site-packages/svn']"
</Location>

<Location /tracsite_1>
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /myserver/trac/tracsite_1
  PythonOption TracUriRoot /tracsite_1
  PythonInterpreter main_interpreter
  PythonPath "sys.path + ['/usr/lib/python2.4/site-packages/svn']"
</Location>

I have not tested it, but it might be possible to use a <LocationMatch "/trac*">
directive to factorize common definitions in a single block. Try the above
config first ;-)

<LocationMatch "/trac*">
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend
  PythonInterpreter main_interpreter
  PythonPath "sys.path + ['/usr/lib/python2.4/site-packages/svn']"
</LocationMatch>

<Location /tracsite>
  PythonOption TracEnv /myserver/trac/tracsite
  PythonOption TracUriRoot /tracsite
</Location>

<Location /tracsite_1>
  PythonOption TracEnv /myserver/trac/tracsite_1
  PythonOption TracUriRoot /tracsite_1
</Location>


On 8/19/07, Anne <[EMAIL PROTECTED]> wrote:
>
> I want tracsite to go directly to the wiki page for that specific
> project.
> It shouldn't be a listing of all available trac projects.



-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to