Skip to content

Commit

Permalink
update htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
marilenadaquino committed Feb 18, 2019
1 parent f4b0446 commit 82a4da6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions bufalinis-notebook/.htaccess
Expand Up @@ -6,16 +6,16 @@ RewriteEngine on
# Default behaviour
# Rewrite rule to serve HTML content
RewriteCond %{HTTP_ACCEPT} html
RewriteRule ^$ http://51.15.52.21:3030/ [R=302,L]
RewriteRule ^sparql$ http://51.15.52.21:3030/sparql [R=302,L]
RewriteRule ^viewer$ http://51.15.52.21:3030/viewer [R=302,L]
RewriteRule ^viewer_$1 http://51.15.52.21:3030/viewer_$1 [R=302,L]
RewriteRule ^excerpt/$1 http://51.15.52.21:3030/excerpt/$1 [R=302,L]
RewriteRule ^indexes$ http://51.15.52.21:3030/indexes [R=302,L]
RewriteRule ^library$ http://51.15.52.21:3030/library [R=302,L]
RewriteRule ^introduction$ http://51.15.52.21:3030/introduction [R=302,L]
RewriteRule ^biblio$ http://51.15.52.21:3030/biblio [R=302,L]
RewriteRule ^(.+)$ http://51.15.52.21:3030/resource/$1 [R=303,L]
RewriteRule ^$ http://projects.dharc.unibo.it/bufalini-notebook/ [R=302,L]
RewriteRule ^sparql$ http://projects.dharc.unibo.it/bufalini-notebook/sparql [R=302,L]
RewriteRule ^viewer$ http://projects.dharc.unibo.it/bufalini-notebook/viewer [R=302,L]
RewriteRule ^viewer_$1 http://projects.dharc.unibo.it/bufalini-notebook/viewer_$1 [R=302,L]
RewriteRule ^excerpt/$1 http://projects.dharc.unibo.it/bufalini-notebook/excerpt/$1 [R=302,L]
RewriteRule ^indexes$ http://projects.dharc.unibo.it/bufalini-notebook/indexes [R=302,L]
RewriteRule ^library$ http://projects.dharc.unibo.it/bufalini-notebook/library [R=302,L]
RewriteRule ^introduction$ http://projects.dharc.unibo.it/bufalini-notebook/introduction [R=302,L]
RewriteRule ^biblio$ http://projects.dharc.unibo.it/bufalini-notebook/biblio [R=302,L]
RewriteRule ^(.+)$ http://projects.dharc.unibo.it/bufalini-notebook/resource/$1 [R=303,L]

# Rewrite rule to serve RDF/XML
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml [OR]
Expand All @@ -26,4 +26,4 @@ RewriteCond %{HTTP_ACCEPT} application/n-triples [OR]
RewriteCond %{HTTP_ACCEPT} text/plain [OR]
RewriteCond %{HTTP_ACCEPT} application/ld\+json [OR]
RewriteCond %{HTTP_ACCEPT} application/json
RewriteRule ^(.+)$ http://51.15.52.21:3030/sparql?query=DESCRIBE%20<https://w3id.org/bufalinis-notebook/$1> [R=303,L]
RewriteRule ^(.+)$ http://projects.dharc.unibo.it/bufalini-notebook/sparql?query=DESCRIBE%20<https://w3id.org/bufalinis-notebook/$1> [R=303,L]

0 comments on commit 82a4da6

Please sign in to comment.