From 718c1f5e7e32ac00c5e7980939c6fc235e2f8e57 Mon Sep 17 00:00:00 2001 From: "Gereon A. Kaiping" Date: Thu, 17 Oct 2019 12:11:22 +0200 Subject: [PATCH 1/3] Create unileiden redirect with lexirumah inside --- unileiden/README.md | 15 +++++++++++++++ unileiden/lexirumah/.htaccess | 6 ++++++ unileiden/lexirumah/README.md | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 unileiden/README.md create mode 100644 unileiden/lexirumah/.htaccess create mode 100644 unileiden/lexirumah/README.md diff --git a/unileiden/README.md b/unileiden/README.md new file mode 100644 index 000000000..2718a314b --- /dev/null +++ b/unileiden/README.md @@ -0,0 +1,15 @@ +UniLeiden +========= + +Datasets maintained by the Leiden University Centre for Digital Scholarship + +Homepage: +* https://www.library.universiteitleiden.nl/research-and-publishing/centre-for-digital-scholarship + +Contacts: +* Ben Companjen +* Laurents Sesink + +GitHub Users and Organizations: +* https://github.com/bencomp +* https://github.com/LeidenUniversityLibrary diff --git a/unileiden/lexirumah/.htaccess b/unileiden/lexirumah/.htaccess new file mode 100644 index 000000000..218ba6256 --- /dev/null +++ b/unileiden/lexirumah/.htaccess @@ -0,0 +1,6 @@ +Header set Access-Control-Allow-Origin * +Header set Access-Control-Allow-Headers DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified$ +Options +FollowSymLinks +RewriteEngine on +RewriteRule ^/unileiden/lexirumah/(.*)$ https://lexirumah.model-ling.eu/lexirumah/$1 [L,R=307,NC] + diff --git a/unileiden/lexirumah/README.md b/unileiden/lexirumah/README.md new file mode 100644 index 000000000..7fb57a676 --- /dev/null +++ b/unileiden/lexirumah/README.md @@ -0,0 +1,19 @@ +LexiRumah +========= + +An online database containing lexical data for languages of Eastern Indonesian and Timor-Leste. + +Dataset: +* https://doi.org/10.5281/zenodo.1164782 + +Contacts: +* Ben Companjen (Maintainer) +* Owen D. Edwards (Editor) +* Marian Klamer (Editor) +* Gereon Kaiping (Developer) + +GitHub Users and Organizations: +* https://github.com/bencomp +* https://github.com/lessersunda +* https://github.com/LeidenUniversityLibrary +* https://github.com/Anaphory From 73acdc1125415a87f989c0afce95673c4f7727dd Mon Sep 17 00:00:00 2001 From: Gereon Kaiping Date: Thu, 17 Oct 2019 13:21:58 +0200 Subject: [PATCH 2/3] Fix: Match does not start with a / --- unileiden/lexirumah/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unileiden/lexirumah/.htaccess b/unileiden/lexirumah/.htaccess index 218ba6256..1a928f89c 100644 --- a/unileiden/lexirumah/.htaccess +++ b/unileiden/lexirumah/.htaccess @@ -2,5 +2,5 @@ Header set Access-Control-Allow-Origin * Header set Access-Control-Allow-Headers DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified$ Options +FollowSymLinks RewriteEngine on -RewriteRule ^/unileiden/lexirumah/(.*)$ https://lexirumah.model-ling.eu/lexirumah/$1 [L,R=307,NC] +RewriteRule ^unileiden/lexirumah/(.*)$ https://lexirumah.model-ling.eu/lexirumah/$1 [L,R=307,NC] From fb6a0596e3da6fcdf4b224a13713c691d13157c5 Mon Sep 17 00:00:00 2001 From: Ben Companjen Date: Thu, 31 Oct 2019 14:22:37 +0100 Subject: [PATCH 3/3] Handle all unileiden requests in one file - Create unileiden/.htaccess that catches all requests; - Move README for LexiRumah into main unileiden README; - Add link to info page about PURL service --- unileiden/.htaccess | 10 ++++++++++ unileiden/README.md | 29 ++++++++++++++++++++++++++--- unileiden/lexirumah/.htaccess | 6 ------ unileiden/lexirumah/README.md | 19 ------------------- 4 files changed, 36 insertions(+), 28 deletions(-) create mode 100644 unileiden/.htaccess delete mode 100644 unileiden/lexirumah/.htaccess delete mode 100644 unileiden/lexirumah/README.md diff --git a/unileiden/.htaccess b/unileiden/.htaccess new file mode 100644 index 000000000..335c6fd28 --- /dev/null +++ b/unileiden/.htaccess @@ -0,0 +1,10 @@ +Header set Access-Control-Allow-Origin * +Options +FollowSymLinks +RewriteEngine on + +# Redirect LexiRumah requests +RewriteRule ^lexirumah(/.*)?$ https://lexirumah.model-ling.eu/lexirumah$1 [L,R=307,NC] + +# Redirect to the Centre for Digital Scholarship +# page on permanent URLs by default +RewriteRule ^(.*)$ https://lab.library.universiteitleiden.nl/purl/ [L,R=307,NC] \ No newline at end of file diff --git a/unileiden/README.md b/unileiden/README.md index 2718a314b..7dbff5e7f 100644 --- a/unileiden/README.md +++ b/unileiden/README.md @@ -1,11 +1,14 @@ -UniLeiden -========= +# UniLeiden -Datasets maintained by the Leiden University Centre for Digital Scholarship +Persistent URIs for Leiden University. +Currently maintained by the Leiden University Libraries' Centre for Digital Scholarship. Homepage: * https://www.library.universiteitleiden.nl/research-and-publishing/centre-for-digital-scholarship +Information about this service: +* https://lab.library.universiteitleiden.nl/purl/ + Contacts: * Ben Companjen * Laurents Sesink @@ -13,3 +16,23 @@ Contacts: GitHub Users and Organizations: * https://github.com/bencomp * https://github.com/LeidenUniversityLibrary + + +## LexiRumah + +An online database containing lexical data for languages of Eastern Indonesian and Timor-Leste. + +Dataset: +* https://doi.org/10.5281/zenodo.1164782 + +Contacts: +* Ben Companjen (Maintainer) +* Owen D. Edwards (Editor) +* Marian Klamer (Editor) +* Gereon Kaiping (Developer) + +GitHub Users and Organizations: +* https://github.com/bencomp +* https://github.com/lessersunda +* https://github.com/LeidenUniversityLibrary +* https://github.com/Anaphory \ No newline at end of file diff --git a/unileiden/lexirumah/.htaccess b/unileiden/lexirumah/.htaccess deleted file mode 100644 index 1a928f89c..000000000 --- a/unileiden/lexirumah/.htaccess +++ /dev/null @@ -1,6 +0,0 @@ -Header set Access-Control-Allow-Origin * -Header set Access-Control-Allow-Headers DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified$ -Options +FollowSymLinks -RewriteEngine on -RewriteRule ^unileiden/lexirumah/(.*)$ https://lexirumah.model-ling.eu/lexirumah/$1 [L,R=307,NC] - diff --git a/unileiden/lexirumah/README.md b/unileiden/lexirumah/README.md deleted file mode 100644 index 7fb57a676..000000000 --- a/unileiden/lexirumah/README.md +++ /dev/null @@ -1,19 +0,0 @@ -LexiRumah -========= - -An online database containing lexical data for languages of Eastern Indonesian and Timor-Leste. - -Dataset: -* https://doi.org/10.5281/zenodo.1164782 - -Contacts: -* Ben Companjen (Maintainer) -* Owen D. Edwards (Editor) -* Marian Klamer (Editor) -* Gereon Kaiping (Developer) - -GitHub Users and Organizations: -* https://github.com/bencomp -* https://github.com/lessersunda -* https://github.com/LeidenUniversityLibrary -* https://github.com/Anaphory