diff --git a/mpilhlt/.htaccess b/mpilhlt/.htaccess index f008962ea..2bc83ac20 100644 --- a/mpilhlt/.htaccess +++ b/mpilhlt/.htaccess @@ -11,7 +11,8 @@ RewriteEngine on # --------------- # Vocabularies webpages -RewriteRule ^polmat/(.*) https://skohub.io/mpilhlt/vocabs-polmat/heads/main/w3id.org/mpilhlt/polmat/$1 [R=307,L] +RewriteRule ^polmat/?$ https://mpilhlt.github.io/vocabs-polmat/w3id.org/mpilhlt/polmat/scheme.html [R=307,L] +RewriteRule ^polmat/(.*) https://mpilhlt.github.io/vocabs-polmat/w3id.org/mpilhlt/polmat/$1 [R=307,L] # Worktime Project Vocabularies # Project homepage @@ -20,58 +21,58 @@ RewriteRule ^polmat/(.*) https://skohub.io/mpilhlt/vocabs- # Older versions redirect to (correspondingly tagged) turtle files at # RewriteRule ^worktime/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/$1 [R=307,L] -RewriteRule ^vocabs-worktime/?$ https://mpilhlt.github.io/vocabs-worktime/index.de.html [R=302,L] -RewriteRule ^vocabs-worktime/index(.html?)?$ https://mpilhlt.github.io/vocabs-worktime/index.de.html [R=302,L] -RewriteRule ^vocabs-worktime/index.de.html?$ https://mpilhlt.github.io/vocabs-worktime/index.de.html [R=302,L] -RewriteRule ^vocabs-worktime/index.en.html?$ https://mpilhlt.github.io/vocabs-worktime/index.en.html [R=302,L] +RewriteRule ^vocabs-worktime/?$ https://mpilhlt.github.io/vocabs-worktime/index.html [R=302,L] +RewriteRule ^vocabs-worktime/index(.html?)?$ https://mpilhlt.github.io/vocabs-worktime/index.html [R=302,L] +RewriteRule ^vocabs-worktime/index.de.html?$ https://mpilhlt.github.io/vocabs-worktime/index.html [R=302,L] +RewriteRule ^vocabs-worktime/index.en.html?$ https://mpilhlt.github.io/vocabs-worktime/index.html [R=302,L] -RewriteRule ^worktime/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/scheme.de.html [R=307,L] +RewriteRule ^worktime/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/scheme.html [R=307,L] RewriteRule ^worktime/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/$1 [R=307,L] RewriteRule ^worktime/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/work_time_regulation.ttl [R=307,L] RewriteRule ^worktime/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/work_time_regulation.ttl [R=307,L] -RewriteRule ^worktime/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/scheme.de.html [R=307,L] +RewriteRule ^worktime/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/scheme.html [R=307,L] RewriteRule ^worktime/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime/$1 [R=307,L] -RewriteRule ^worktime_activity/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/scheme.de.html [R=307,L] +RewriteRule ^worktime_activity/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/scheme.html [R=307,L] RewriteRule ^worktime_activity/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/$1 [R=307,L] RewriteRule ^worktime_activity/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_activity.ttl [R=307,L] RewriteRule ^worktime_activity/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_activity.ttl [R=307,L] -RewriteRule ^worktime_activity/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/scheme.de.html [R=307,L] +RewriteRule ^worktime_activity/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/scheme.html [R=307,L] RewriteRule ^worktime_activity/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_activity/$1 [R=307,L] -RewriteRule ^worktime_meta/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/scheme.de.html [R=307,L] +RewriteRule ^worktime_meta/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/scheme.html [R=307,L] RewriteRule ^worktime_meta/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/$1 [R=307,L] RewriteRule ^worktime_meta/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_meta.ttl [R=307,L] RewriteRule ^worktime_meta/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_meta.ttl [R=307,L] -RewriteRule ^worktime_meta/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/scheme.de.html [R=307,L] +RewriteRule ^worktime_meta/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/scheme.html [R=307,L] RewriteRule ^worktime_meta/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_meta/$1 [R=307,L] -RewriteRule ^worktime_object/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/scheme.de.html [R=307,L] +RewriteRule ^worktime_object/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/scheme.html [R=307,L] RewriteRule ^worktime_object/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/$1 [R=307,L] RewriteRule ^worktime_object/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_object.ttl [R=307,L] RewriteRule ^worktime_object/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_object.ttl [R=307,L] -RewriteRule ^worktime_object/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/scheme.de.html [R=307,L] +RewriteRule ^worktime_object/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/scheme.html [R=307,L] RewriteRule ^worktime_object/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_object/$1 [R=307,L] -RewriteRule ^worktime_prescription/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/scheme.de.html [R=307,L] +RewriteRule ^worktime_prescription/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/scheme.html [R=307,L] RewriteRule ^worktime_prescription/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/$1 [R=307,L] RewriteRule ^worktime_prescription/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_prescription.ttl [R=307,L] RewriteRule ^worktime_prescription/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_prescription.ttl [R=307,L] -RewriteRule ^worktime_prescription/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/scheme.de.html [R=307,L] +RewriteRule ^worktime_prescription/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/scheme.html [R=307,L] RewriteRule ^worktime_prescription/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_prescription/$1 [R=307,L] -RewriteRule ^worktime_role/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/scheme.de.html [R=307,L] +RewriteRule ^worktime_role/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/scheme.html [R=307,L] RewriteRule ^worktime_role/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/$1 [R=307,L] RewriteRule ^worktime_role/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_role.ttl [R=307,L] RewriteRule ^worktime_role/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_role.ttl [R=307,L] -RewriteRule ^worktime_role/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/scheme.de.html [R=307,L] +RewriteRule ^worktime_role/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/scheme.html [R=307,L] RewriteRule ^worktime_role/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_role/$1 [R=307,L] -RewriteRule ^worktime_term/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/scheme.de.html [R=307,L] +RewriteRule ^worktime_term/latest/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/scheme.html [R=307,L] RewriteRule ^worktime_term/latest/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/$1 [R=307,L] RewriteRule ^worktime_term/0.0.4/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.4/worktime_term.ttl [R=307,L] RewriteRule ^worktime_term/0.0.3/(.*) https://raw.githubusercontent.com/mpilhlt/vocabs-worktime/v0.0.3/worktime_term.ttl [R=307,L] -RewriteRule ^worktime_term/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/scheme.de.html [R=307,L] +RewriteRule ^worktime_term/?$ https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/scheme.html [R=307,L] RewriteRule ^worktime_term/(.*) https://mpilhlt.github.io/vocabs-worktime/w3id.org/mpilhlt/worktime_term/$1 [R=307,L] @@ -79,5 +80,5 @@ RewriteRule ^worktime_term/(.*) https://mpilhlt.github.io/vocabs- # Other redirections (APIs etc.) # Reconciliation API -# RewriteRule ^reconcile/(.*) https://reconcile.skohub.io/reconcile?language=de&account=mpilhlt&dataset=https://w3id.org/mpilhlt/worktime/scheme$1 [R=307,NE,L] -RewriteRule ^reconcile/(.*) https://c111-064.cloud.gwdg.de/reconc/mpilhlt/$1 [R=307,NE,L] +RewriteRule ^reconcile/(.*) https://reconcile.skohub.io/reconcile?language=de&account=mpilhlt&dataset=https://w3id.org/mpilhlt/worktime/scheme$1 [R=307,NE,L] +# RewriteRule ^reconcile/(.*) https://c111-064.cloud.gwdg.de/reconc/mpilhlt/$1 [R=307,NE,L]