“Deny project listing” patch for Trac

If you’d like to disable the project listing (“Available projects”) in Trac 0.8.4 when using mod_python (highly recommended as it greatly improves Trac’s responsiveness), you might want to use my tiny patch:

ModPythonHandler.py.patch

Apply it by executing

# patch

in Trac’s source code directory (see the result of ‘locate Changeset.py’). On Gentoo, the directory is /usr/lib/python2.3/site-packages/trac/. Note that you don’t need this patch if you’re using the current trunk version of Trac (at the time of writing). In trunk, you can define your own custom template for the project listing.

CategoriesITTags

Leave a Reply

Your email address will not be published. Required fields are marked *

63 ÷ = 7

This site uses Akismet to reduce spam. Learn how your comment data is processed.