Skip to content

Commit

Permalink
Add mappings include file redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
hsolbrig committed Oct 28, 2019
1 parent 6496c30 commit eea852e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions biolink/biolinkml/.htaccess
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 eea852e

Please sign in to comment.