@@ -19,16 +19,13 @@ RewriteCond %{HTTP_ACCEPT} text/\* [OR]
1919RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
2020RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
2121RewriteRule ^(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
2525RewriteCond %{HTTP_ACCEPT} application/rdf\+xml [OR]
2626RewriteCond %{HTTP_ACCEPT} application/owl\+xml
2727RewriteRule ^(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 ]
3229RewriteRule ^hdo-full.owl$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo-full.owl [R=303,L ]
3330RewriteRule ^hdo-base.owl$ https://gitlab.hzdr.de/hmc/hmc-public/hob/hdo/-/raw/main/hdo-base.owl [R=303,L ]
3431RewriteRule ^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
5350RewriteRule ^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]
5451RewriteRule ^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