22# Contact person email: s.fathalla@fz-juelich.de
33# Artifact name: mwo
44# Artefact Name: The NFDI MatWerk ontology
5- # Resource location: https://git.rwth-aachen.de/nfdi-matwerk/ta-oms/ mwo/-/raw/main/mwo .owl
5+ # Resource location: https://ise-fizkarlsruhe.github.io/ mwo/ontology .owl
66
77Options +FollowSymLinks
88Options -MultiViews
@@ -12,7 +12,6 @@ AddType application/rdf+xml .owl
1212
1313RewriteEngine on
1414
15-
1615# Rewrite rule to serve HTML ontology docs
1716RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
1817RewriteCond %{HTTP_ACCEPT} text/html [OR]
@@ -27,11 +26,38 @@ RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
2726RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
2827RewriteRule ^/?$ https://ise-fizkarlsruhe.github.io/mwo/ [R=303,NE,L ]
2928
30-
3129# Rewrite rule to serve RDF/XML content
3230RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
3331RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
3432RewriteRule ^$ https://ise-fizkarlsruhe.github.io/mwo/ontology.owl [R=303 ,NE,L]
3533
34+ #--------------------------------------------------------------------------------
35+
36+ # v3.0.0 owl
37+ RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
38+ RewriteRule ^3.0.0$ https://ise-fizkarlsruhe.github.io/mwo/3.0.0/ontology.owl [R=303 ,L]
39+
40+ # Rewrite rule to serve HTML ontology docs
41+ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
42+ RewriteCond %{HTTP_ACCEPT} text/html [OR]
43+ RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
44+ RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
45+ RewriteRule ^3.0.0$ https://ise-fizkarlsruhe.github.io/mwo/3.0.0/ [R=303,NE,L ]
46+
47+ #------------------------------------------------------------------------------
48+
49+ ## v3.0.1
50+
51+ RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
52+ RewriteRule ^3.0.1$ https://ise-fizkarlsruhe.github.io/mwo/3.0.1/ontology.owl [R=303 ,L]
53+
54+ # Rewrite rule to serve HTML ontology docs
55+ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
56+ RewriteCond %{HTTP_ACCEPT} text/html [OR]
57+ RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
58+ RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
59+ RewriteRule ^3.0.1$ https://ise-fizkarlsruhe.github.io/mwo/3.0.1/ [R=303,NE,L ]
60+
61+ #------------------------------------------------------------------------------
3662# Default response
3763RewriteRule ^$ https://ise-fizkarlsruhe.github.io/mwo/ontology.owl [R=303 ,NE,L]
0 commit comments