Skip to content

Commit

Permalink
Merge pull request #1120 from stain/ro-rawgit-down
Browse files Browse the repository at this point in the history
ro bundle: Avoid rawgit.com as it shutting down
  • Loading branch information
dgarijo authored Oct 22, 2018
2 parents f498f2d + 1b28636 commit a8dc395
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions bundle/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ RewriteEngine on
RewriteRule ^$ https://researchobject.github.io/specifications/bundle/ [R=302,L]
RewriteRule ^draft(.*) https://researchobject.github.io/specifications/bundle/draft$1 [R=302,L]
RewriteRule ^(20\d\d)(.*) https://researchobject.github.io/specifications/bundle/$1$2 [R=302,L]
RewriteRule ^context$ https://rawgit.com/researchobject/specifications/gh-pages/bundle/context.json [R=302,L]
RewriteRule ^context.json$ https://rawgit.com/researchobject/specifications/gh-pages/bundle/context.json [R=302,L]
RewriteRule ^context$ https://researchobject.github.io/specifications/bundle/context.json [R=302,L]
RewriteRule ^context.json$ https://researchobject.github.io/specifications/bundle/context.json [R=302,L]
# Mainly for testing purposes
RewriteRule ^context-http$ http://researchobject.github.io/specifications/bundle/context.json [R=302,L]
RewriteRule ^owl$ https://researchobject.github.io/specifications/bundle/bundle.owl [R=302,L]
20 changes: 10 additions & 10 deletions ro/.htaccess
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
RewriteEngine on
# Documentation
RewriteRule ^$ http://wf4ever.github.io/ro/ [R=302,L]
RewriteRule ^(20\d\d.*) http://wf4ever.github.io/ro/$1 [R=302,L]
RewriteRule ^primer http://wf4ever.github.io/ro-primer/ [R=302,L]
RewriteRule ^$ https://wf4ever.github.io/ro/ [R=302,L]
RewriteRule ^(20\d\d.*) https://wf4ever.github.io/ro/$1 [R=302,L]
RewriteRule ^primer https://wf4ever.github.io/ro-primer/ [R=302,L]

# Ontologies
RewriteRule ^ro$ https://wf4ever.github.io/ro/ro.owl [R=302,L]
Expand All @@ -13,15 +13,15 @@ RewriteRule ^roevo$ https://wf4ever.github.io/ro/roevo.owl [R=302,L]
RewriteRule ^earth-science$ https://wf4ever.github.io/ro/2016-07-28/earth-science.owl [R=302,L]

# JSON-LD contexts
RewriteRule ^wfdesc/context$ https://rawgit.com/wf4ever/ro/gh-pages/wfdesc.json [R=302,L]
RewriteRule ^wf4ever/context$ https://rawgit.com/wf4ever/ro/gh-pages/wf4ever.json [R=302,L]
RewriteRule ^wfdesc/context$ https://wf4ever.github.io/ro/wfdesc.json [R=302,L]
RewriteRule ^wf4ever/context$ https://wf4ever.github.io/ro/wf4ever.json [R=302,L]
## For future use
RewriteRule ^ro/context$ https://rawgit.com/wf4ever/ro/gh-pages/ro.json [R=302,L]
RewriteRule ^ro/context$ https://wf4ever.github.io/ro/ro.json [R=302,L]
RewriteRule ^roterms$ https://wf4ever.github.io/ro/roterms.owl [R=302,L]
RewriteRule ^roterms/context$ https://rawgit.com/wf4ever/ro/gh-pages/roterms.json [R=302,L]
RewriteRule ^wfprov/context$ https://rawgit.com/wf4ever/ro/gh-pages/wfprov.json [R=302,L]
RewriteRule ^roevo/context$ https://rawgit.com/wf4ever/ro/gh-pages/roevo/roevo.json [R=302,L]
RewriteRule ^roterms/context$ https://wf4ever.github.io/ro/roterms.json [R=302,L]
RewriteRule ^wfprov/context$ https://wf4ever.github.io/ro/wfprov.json [R=302,L]
RewriteRule ^roevo/context$ https://wf4ever.github.io/ro/roevo.json [R=302,L]

RewriteRule ^bagit$ https://github.com/ResearchObject/bagit-ro [R=302,L]
RewriteRule ^bagit/profile$ https://cdn.rawgit.com/ResearchObject/bagit-ro/0.2.20160422/profile.json [R=302,L]
RewriteRule ^bagit/profile$ https://cdn.jsdelivr.net/gh/ResearchObject/bagit-ro@0.2.20160422/profile.json [R=302,L]

0 comments on commit a8dc395

Please sign in to comment.