Skip to content

Commit

Permalink
Move /meta/ before catchall
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton authored Jun 15, 2020
1 parent 4e097f4 commit f82176e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Redirect anything /obo/ that was not matched back to the old PURL system.
RedirectMatch temp ^/obo/(.*)$ http://purl.oclc.org/obo/$1

# Redirect anything else to the GitHub page.
RedirectMatch temp ^.*$ https://github.com/OBOFoundry/purl.obolibrary.org/

### Meta
# http://purl.obolibrary.org/meta/
# see https://github.com/OBOFoundry/purl.obolibrary.org/issues/427
# E.g. http://purl.obolibrary.org/meta/ontologies.{yml,json,ttl}
RedirectMatch temp ^/meta/(.*)$ https://raw.githubusercontent.com/OBOFoundry/OBOFoundry.github.io/master/registry/$1

# Redirect anything else to the GitHub page.
RedirectMatch temp ^.*$ https://github.com/OBOFoundry/purl.obolibrary.org/

0 comments on commit f82176e

Please sign in to comment.