From eea852e18cab069cc675500ba3f17f7d9da88a46 Mon Sep 17 00:00:00 2001 From: hsolbrig Date: Mon, 28 Oct 2019 13:46:21 +0800 Subject: [PATCH] Add mappings include file redirection --- biolink/biolinkml/.htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/biolink/biolinkml/.htaccess b/biolink/biolinkml/.htaccess index 241fd765c..36c9eb4de 100644 --- a/biolink/biolinkml/.htaccess +++ b/biolink/biolinkml/.htaccess @@ -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 # ------------------------------------ @@ -49,3 +58,4 @@ RewriteRule ^(meta)$ meta.shex [L] # Rewrite Base URL RewriteRule ^(.*)$ https://biolink.github.io/biolinkml/$1 [R=302,L] +