Skip to content

Commit 58ac3d9

Browse files
authored
Update hob/hdo
1 parent f56e46a commit 58ac3d9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

hob/.htaccess

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ RewriteCond %{HTTP_ACCEPT} text/\* [OR]
1919
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
2020
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
2121
RewriteRule ^(HDO_[0-9]+)$ https://materials-data-science-and-informatics.github.io/Helmholtz-Digitisation-Ontology-Documentation/index-en.html#https://purls.helmholtz-metadaten.de/hob/$1 [R=303,NE,L]
22-
22+
RewriteRule ^(hdo)$ https://materials-data-science-and-informatics.github.io/Helmholtz-Digitisation-Ontology-Documentation/index-en.html [R=303,NE,L]
2323

24-
# Redirect for hdo terms (e.g. hob/HDO_00004001)
24+
# Redirect for hdo terms (e.g. hob/HDO_00004001) and Redirect for hob/hdo
2525
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml [OR]
2626
RewriteCond %{HTTP_ACCEPT} application/owl\+xml
2727
RewriteRule ^(HDO_[0-9]+) https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo.owl [R=303,L]
28-
RewriteRule ^$ https://codebase.helmholtz.cloud/hmc/hmc-public/hob [R=303,L]
29-
30-
# Redirect for hob/hdo
31-
RewriteRule ^hdo$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo.owl [R=303,L]
28+
RewriteRule ^(hdo)$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo.owl [R=303,L]
3229
RewriteRule ^hdo-full.owl$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo-full.owl [R=303,L]
3330
RewriteRule ^hdo-base.owl$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo-base.owl [R=303,L]
3431
RewriteRule ^hdo.owl$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo.owl [R=303,L]
@@ -53,3 +50,5 @@ RewriteRule ^hdo/releases/2025-03-20/hdo.owl$ https://codebase.helmholtz.cloud
5350
RewriteRule ^hdo/releases/2025-03-20/hdo-base.owl$ https://codebase.helmholtz.cloud/hmc/hmc-public/hob/hdo/-/raw/main/releases/2025-03-20/hdo-base.owl [R=303,L]
5451
RewriteRule ^hdo/releases/2025-03-20/hdo-full.owl$ https://codebase.helmholtz.cloud/hmc/hmc-public/hob/hdo/-/raw/main/releases/2025-03-20/hdo-full.owl [R=303,L]
5552

53+
# redirects hob
54+
RewriteRule ^$ https://codebase.helmholtz.cloud/hmc/hmc-public/hob [R=303,L]

0 commit comments

Comments
 (0)