Skip to content

Commit

Permalink
Merge pull request #550 from riccardoAlbertoni/master
Browse files Browse the repository at this point in the history
adding Lustre
  • Loading branch information
davidlehn committed Oct 24, 2016
2 parents c3f3880 + f16756c commit 7f443e6
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lustre/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# lustre

Redirection for dumps and metadata related to the thesaurus framework accessible at linkeddata.ge.imati.cnr.it ().


## Contact

* Riccardo Albertoni, [albertoni@ge.imati.cnr.it](mailto:albertoni@ge.imati.cnr.it)

33 changes: 33 additions & 0 deletions lustre/dump/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Options +FollowSymLinks

# Directive to ensure *.rdf files served as appropriate content type,
# if not present in main apache config
# AddType application/rdf+xml .rdf
AddType text/turtle .ttl
AddType application/ld\+json .jsonld


RewriteEngine on

#w3id.org/lustre/earth
# set of rewrite providing stable URI for latest version of dump w3id.org/lustre/earth
#EARTh
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^earth$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/EARTh20140604.ttl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^earth$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/EARTh20140604.jsonld [R=303,NE,L]
#default response: ttl
RewriteRule ^earth$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/EARTh20140604.ttl [R=303,NE,L]

#w3id.org/lustre/thist
##ThIST
RewriteCond %{HTTP_ACCEPT} ^.*text/turtle.*
RewriteRule ^thist$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/ThIST20140804.ttl [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^thist$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/ThIST20140804.jsonld [R=303,NE,L]
#default response: ttl
RewriteRule ^thist$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/ThIST20140804.ttl [R=303,NE,L]

#set of rewrite to get a specific dump
RewriteRule ^(.*)$ http://pers.ge.imati.cnr.it/albertoni/LUSTRE-DWBP/dump/$1 [R=303,NE,L]

0 comments on commit 7f443e6

Please sign in to comment.