Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
m-markovic committed Nov 3, 2018
1 parent 7b7ee50 commit 9cf1cac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pope/.htaccess
Expand Up @@ -18,12 +18,12 @@ RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^pope$ https://foodsentimentobservatory.github.io/PoPE/index-en.html [R=303,NE,L]
RewriteRule ^$ https://foodsentimentobservatory.github.io/PoPE/index-en.html [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^pope$ https://foodsentimentobservatory.github.io/PoPE/ontology.ttl [R=303,NE,L]
RewriteRule ^$ https://foodsentimentobservatory.github.io/PoPE/ontology.ttl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf+xml*
RewriteRule ^pope$ https://foodsentimentobservatory.github.io/PoPE/ontology.xml [R=303,NE,L]
RewriteRule ^$ https://foodsentimentobservatory.github.io/PoPE/ontology.xml [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/n-triples*
RewriteRule ^$ https://foodsentimentobservatory.github.io/PoPE/ontology.n3 [R=303,NE,L]
#default response: ttl
RewriteRule ^pope$ https://foodsentimentobservatory.github.io/PoPE/ontology.ttl [R=303,NE,L]
RewriteRule ^$ https://foodsentimentobservatory.github.io/PoPE/ontology.ttl [R=303,NE,L]

0 comments on commit 9cf1cac

Please sign in to comment.