redirect from old trac ticket urls to bitbucket

Create issue
Issue #2240 closed
Roland Haas created an issue

There are broken links to trac tickets on the wiki. It would be good if http://trac.einsteintoolkit.org redirected a link such as

https://trac.einsteintoolkit.org/ticket/641

to the relevant BitBucket ticket.

This should be doable with an apache mod_rewrite rule https://httpd.apache.org/docs/2.4/rewrite/remapping.html#movehomedirs

Eg:

RedirectMatch "^/tickets/([^/]*)" "https://bitbucket.org/einsteintoolkit/tickets/issues/$1"

Comments (11)

  1. Roland Haas reporter
    • changed status to open

    @stevenrbrandt any updates on this? This needs a reboot / redeploy of the trac server so needs someone at LSU to take care of it.

  2. Roland Haas reporter

    There are broken links to trac tickets on the wiki. It would be good if http://trac.einsteintoolkit.org redirected a link such as

    https://trac.einsteintoolkit.org/ticket/641

    to the relevant BitBucket ticket.

    This should be doable with an apache mod_rewrite rule https://httpd.apache.org/docs/2.4/rewrite/remapping.html#movehomedirs

    Eg:

    RedirectMatch "^/tickets/([^/]*)" "https://bitbucket.org/einsteintoolkit/tickets/issues/$1"
    
  3. Roland Haas reporter
    • changed status to open

    @Steven R. Brandt this is happening again I would guess as a fallout of trying to fix the inaccessible wiki server?

  4. Log in to comment