forked from perma-id/w3id.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
22 lines (18 loc) · 853 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Turn off MultiViews
Options -MultiViews
# Rewrite engine setup
RewriteEngine On
# Rewrite rule to serve HTML content
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ http://www.essepuntato.it/lode/owlapi/https://w3id.org/bim4eepsa [R=303,L]
# Rewrite rule to serve RDF/XML content if requested
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml [OR]
RewriteCond %{HTTP_ACCEPT} application/owl\+xml
RewriteRule ^$ http://193.144.237.227:8890/DAV/home/dba/Ontologies/bim4EEPSA.owl [R=303,L]
# Choose the default response
# ---------------------------
# Default Rule
RewriteRule ^$ http://193.144.237.227:8890/DAV/home/dba/Ontologies/bim4EEPSA.owl [R=303,L]