Skip to content

Instantly share code, notes, and snippets.

@Mehuge
Created March 12, 2018 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mehuge/93e3d003ffca0fa2d9ff49f5ef4557b2 to your computer and use it in GitHub Desktop.
Save Mehuge/93e3d003ffca0fa2d9ff49f5ef4557b2 to your computer and use it in GitHub Desktop.
Trac mod_python redirect old style single repo per project changeset URL to multi repo project
# add the following above </Location>
RewriteEngine On
RedirectMatch "/trac/([A-Z]*)/changeset/([0-9]*)$" "/trac/changeset/$2/$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment