Skip to content

Commit

Permalink
Merge pull request perma-id#1532 from hsolbrig/master
Browse files Browse the repository at this point in the history
Add mappings include file redirection
  • Loading branch information
davidlehn authored Oct 28, 2019
2 parents 158020e + eea852e commit d0a8bba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions biolink/biolinkml/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ RewriteRule ^meta\/(.*)$ docs
# type/ --> docs/types
RewriteRule ^type\/(.*)$ docs/types

# mapping/ --> docs/types
RewriteRule ^mapping\/(.*)$ docs/mappings

# types --> includes/types
RewriteRule ^types(\/?)$ includes/types

# mappings --> includes/mappings
RewriteRule ^mappings(\/?)$ includes/mappings

# types.sfx --> includes/types.sfx
RewriteRule ^(types\.)(.+)$ includes/types.$2

# mappings.sfx --> includes/mappings.sfx
RewriteRule ^(mappings\.)(.+)$ includes/mappings.$2


# Poor man's conneg
# ------------------------------------
Expand Down Expand Up @@ -49,3 +58,4 @@ RewriteRule ^(meta)$ meta.shex [L]

# Rewrite Base URL
RewriteRule ^(.*)$ https://biolink.github.io/biolinkml/$1 [R=302,L]

0 comments on commit d0a8bba

Please sign in to comment.