-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from riccardoAlbertoni/master
adding Lustre
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|