Skip to content

Commit

Permalink
Merge pull request #1212 from iesnaola/master
Browse files Browse the repository at this point in the history
Upload of the RBEEPSA ontology's redirection
  • Loading branch information
dgarijo committed Jan 2, 2019
2 parents 72eb1e6 + 6f6b73f commit e213a93
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
22 changes: 22 additions & 0 deletions rbeepsa/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ^$ https://iesnaola.github.io/RBEEPSA/RBEEPSA/index-en.html [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 ^$ https://iesnaola.github.io/RBEEPSA/RBEEPSA/ontology/ontology.owl [R=303,L]

# Choose the default response
# ---------------------------
# Default Rule
RewriteRule ^$ https://iesnaola.github.io/RBEEPSA/RBEEPSA/ontology/ontology.owl [R=303,L]
3 changes: 3 additions & 0 deletions rbeepsa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Contact

Iker Esnaola-Gonzalez (iker.esnaola AT tekniker.es)
22 changes: 22 additions & 0 deletions rbeepsa/ek4rbeepsa/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ^$ https://iesnaola.github.io/RBEEPSA/EK4RBEEPSA/index-en.html [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 ^$ https://iesnaola.github.io/RBEEPSA/EK4RBEEPSA/ontology/ontology.owl [R=303,L]

# Choose the default response
# ---------------------------
# Default Rule
RewriteRule ^$ https://iesnaola.github.io/RBEEPSA/EK4RBEEPSA/ontology/ontology.owl [R=303,L]
3 changes: 3 additions & 0 deletions rbeepsa/ek4rbeepsa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Contact

Iker Esnaola-Gonzalez (iker.esnaola AT tekniker.es)
22 changes: 22 additions & 0 deletions rbeepsa/foi4rbeepsa/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ^$ https://iesnaola.github.io/RBEEPSA/FoI4RBEEPSA/index-en.html [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 ^$ https://iesnaola.github.io/RBEEPSA/FoI4RBEEPSA/ontology/ontology.owl [R=303,L]

# Choose the default response
# ---------------------------
# Default Rule
RewriteRule ^$ https://iesnaola.github.io/RBEEPSA/FoI4RBEEPSA/ontology/ontology.owl [R=303,L]
3 changes: 3 additions & 0 deletions rbeepsa/foi4rbeepsa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Contact

Iker Esnaola-Gonzalez (iker.esnaola AT tekniker.es)

0 comments on commit e213a93

Please sign in to comment.