From 19ba01141aa973d57d8e65dd9d7f9f6253cfafe5 Mon Sep 17 00:00:00 2001 From: Andrew Yates Date: Tue, 6 Aug 2019 11:00:06 +0100 Subject: [PATCH 1/3] Create /vr-refget redirection vr-refget redirection is a new service provided currently by an EBI service to help provide alias lookup for the vr specification. All url content beyond the initial /vr-refget URL should be redirected to the above address. --- ga4gh/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index ab2d46da1..e2da262e4 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -23,3 +23,6 @@ RewriteRule ^minutes/case-discovery$ https://docs.google.com/document/d/1k-YyTA4 # Clin-Pheno Work Stream Links RewriteRule ^minutes/phenopackets$ https://docs.google.com/document/d/1gxRaduk2bv6_cCSiDVJomVtfMD2AOFeDVGELsShh21U/edit?usp=sharing [R=302,L] + +# Refget VR links +^vr-refget(.+)$ https://193.62.54.154/$1 [R=302,B,L] From c84733d021924ae0c0a1306b719eb35930eacb84 Mon Sep 17 00:00:00 2001 From: Andrew Yates Date: Tue, 6 Aug 2019 13:30:40 +0100 Subject: [PATCH 2/3] Adding in a second URL --- ga4gh/.htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index e2da262e4..42ced03f4 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -24,5 +24,6 @@ RewriteRule ^minutes/case-discovery$ https://docs.google.com/document/d/1k-YyTA4 # Clin-Pheno Work Stream Links RewriteRule ^minutes/phenopackets$ https://docs.google.com/document/d/1gxRaduk2bv6_cCSiDVJomVtfMD2AOFeDVGELsShh21U/edit?usp=sharing [R=302,L] -# Refget VR links +# Refget links ^vr-refget(.+)$ https://193.62.54.154/$1 [R=302,B,L] +^serverless-refget(.+)$ https://cl9lba3no5.execute-api.us-east-2.amazonaws.com/Prod/$1 [R=302,B,L] From 7aec25fd386df8711dd91b1a00cebbfe15fdcc47 Mon Sep 17 00:00:00 2001 From: Andrew Yates Date: Tue, 13 Aug 2019 10:42:18 +0100 Subject: [PATCH 3/3] Both lines missed out RewriteRule --- ga4gh/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ga4gh/.htaccess b/ga4gh/.htaccess index 42ced03f4..b9f7c8129 100644 --- a/ga4gh/.htaccess +++ b/ga4gh/.htaccess @@ -25,5 +25,5 @@ RewriteRule ^minutes/case-discovery$ https://docs.google.com/document/d/1k-YyTA4 RewriteRule ^minutes/phenopackets$ https://docs.google.com/document/d/1gxRaduk2bv6_cCSiDVJomVtfMD2AOFeDVGELsShh21U/edit?usp=sharing [R=302,L] # Refget links -^vr-refget(.+)$ https://193.62.54.154/$1 [R=302,B,L] -^serverless-refget(.+)$ https://cl9lba3no5.execute-api.us-east-2.amazonaws.com/Prod/$1 [R=302,B,L] +RewriteRule ^vr-refget(.+)$ https://193.62.54.154/$1 [R=302,B,L] +RewriteRule ^serverless-refget(.+)$ https://cl9lba3no5.execute-api.us-east-2.amazonaws.com/Prod/$1 [R=302,B,L]