Skip to content

Commit c4f6484

Browse files
authored
Update .htaccess of EMG
new release for emg.owl was created. Updated htacces file with version IRIs accordingly
1 parent e0f21d4 commit c4f6484

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

emg/.htaccess

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ RewriteCond %{HTTP_ACCEPT} text/\* [OR]
1919
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
2020
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
2121

22-
# emg v1.0.0 docs
23-
RewriteRule ^v1.0.0/$ https://owl.emglossary.helmholtz-metadaten.de/ [R=303,L]
24-
RewriteRule ^v1.0.0/(EMG_[0-9]+)$ https://owl.emglossary.helmholtz-metadaten.de/index.html#$1 [R=303,NE,L]
22+
# emg v2.0.0 docs
23+
RewriteRule ^v2.0.0/$ https://owl.emglossary.helmholtz-metadaten.de/ [R=303,L]
24+
RewriteRule ^v2.0.0/(EMG_[0-9]+)$ https://owl.emglossary.helmholtz-metadaten.de/index.html#$1 [R=303,NE,L]
2525

26-
# emg v1.0.0 owl
26+
# emg v2.0.0 owl
2727
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
28-
RewriteRule ^v1.0.0/$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/emg.owl [R=303,L]
29-
RewriteRule ^v1.0.0/(EMG_[0-9]+)$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/emg.owl [R=303,NE,L]
28+
RewriteRule ^v2.0.0/$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/emg.owl [R=303,L]
29+
RewriteRule ^v2.0.0/(EMG_[0-9]+)$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/emg.owl [R=303,NE,L]
30+
31+
# emg previous versions owl
32+
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
33+
RewriteRule ^v1.0.0/$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/previous-versions/v1.0.0/emg.owl [R=303,L]
34+
RewriteRule ^v1.0.0/(EMG_[0-9]+)$ https://codebase.helmholtz.cloud/em_glossary/em_glossary_owl/-/raw/main/previous-versions/v1.0.0/emg.owl [R=303,NE,L]
3035

3136
# HTML ontology docs
3237
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)

0 commit comments

Comments
 (0)