a tip

Using LocationMatch to fix a trailing slash problem in Trac

We use Trac to manage open source projects at work. It has a nifty plugin that allows you to mix in Doxygen-generated API documentation.

Trac, being rendered by mod_python, doesn't append a trailing slash to requests. But Doxygen assumes the trailing slash is there. How to fix?
  <LocationMatch /doxygen$>
Redirect permanent /doxygen http://trac.example.org/doxygen/
</LocationMatch>
Works like a charm.

By Chris Snyder on January 24, 2007 at 2:58pm

jump to top