Skip to content

Commit

Permalink
Merge pull request perma-id#3936 from Sedimark/master
Browse files Browse the repository at this point in the history
Permanent Identifier for SEDIMARK project information models.
  • Loading branch information
dgarijo authored Mar 7, 2024
2 parents 40aa3ab + fdd7fed commit dbb2695
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
26 changes: 26 additions & 0 deletions sedimark/marketplace/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Options +FollowSymLinks
# Turn off MultiViews
Options -MultiViews

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

RewriteEngine on

#Rewrite rules for quality ontology
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ https://sedimark.surrey.ac.uk/ontology/marketplace/ [R=303,NE,L]
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.*
RewriteRule ^$ https://sedimark.surrey.ac.uk/ontology/marketplace/sedimark-mktp.rdf [R=303,NE,L]
#default response: owl
RewriteRule ^$ https://sedimark.surrey.ac.uk/ontology/marketplace/sedimark-mktp.owl [R=303,NE,L]
7 changes: 7 additions & 0 deletions sedimark/marketplace/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SEDIMARK Marketplace Information Model

## Maintainer(s)

**Tarek Elsaleh**
* GitHub: @telsaleh
* Email: [email protected]

0 comments on commit dbb2695

Please sign in to comment.