Skip to content

Commit

Permalink
Change path of version 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrubenmann authored Oct 29, 2019
1 parent 3351b8c commit 64e57ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions timebank/0.1/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/index.html [R=303,L]
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/index.html [R=303,L]

# Rewrite rule to serve N-Triples content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/ontology.nt [R=303,L]
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/ontology.nt [R=303,L]

# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/ontology.xml [R=303,L]
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/ontology.xml [R=303,L]

# Rewrite rule to serve TTL content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/turtle
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/ontology.ttl [R=303,L]
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/ontology.ttl [R=303,L]

# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/ontology.json [R=303,L]
RewriteRule ^$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/ontology.json [R=303,L]

# Choose the default response
# ---------------------------

# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/ontology.xml [R=303]
RewriteRule ^(.*)$ https://tobiasgrubenmann.github.io/Ontologies/Timebank/0.1/ontology.xml [R=303]

0 comments on commit 64e57ee

Please sign in to comment.