Skip to content

Commit

Permalink
/oseg/ & /valueflows/ - Support Notation3 (*.n3) too
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Dec 15, 2024
1 parent dea950a commit 98ee151
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oseg/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Options +FollowSymLinks
AddType application/rdf+xml .rdf .owl
#AddType application/xml .xml
AddType application/ld+json .jsonld
AddType text/n3 .n3
AddType application/n-quads .nq
AddType application/n-triples .nt
AddType text/turtle .ttl
Expand All @@ -19,6 +20,7 @@ SetEnvIf Accept ^.*application/rdf\+xml FILE_EXT=rdf # RDF/XML & OWL
#SetEnvIf Accept ^.*application/xml FILE_EXT=rdf # (RDF/)XML
SetEnvIf Accept ^.*application/ld\+json FILE_EXT=jsonld # JSON-LD
#SetEnvIf Accept ^.*application/json-ld FILE_EXT=jsonld # JSON-LD (invalid/inofficial form)
SetEnvIf Accept ^.*text/n3 FILE_EXT=n3 # Notation3
SetEnvIf Accept ^.*application/n-quads FILE_EXT=nq # N-Quads
SetEnvIf Accept ^.*application/n-triples FILE_EXT=nt # N-Triples
SetEnvIf Accept ^.*text/turtle FILE_EXT=ttl # Turtle
Expand Down
2 changes: 2 additions & 0 deletions valueflows/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Options +FollowSymLinks
AddType application/rdf+xml .rdf .owl
#AddType application/xml .xml
AddType application/ld+json .jsonld
AddType text/n3 .n3
AddType application/n-quads .nq
AddType application/n-triples .nt
AddType text/turtle .ttl
Expand All @@ -18,6 +19,7 @@ SetEnvIf Accept ^ FILE_EXT=ttl # *Default*
SetEnvIf Accept ^.*application/rdf\+xml FILE_EXT=rdf # RDF/XML
SetEnvIf Accept ^.*application/ld\+json FILE_EXT=jsonld # JSON-LD
#SetEnvIf Accept ^.*application/json-ld FILE_EXT=jsonld # JSON-LD (invalid/inofficial form)
SetEnvIf Accept ^.*text/n3 FILE_EXT=n3 # Notation3
SetEnvIf Accept ^.*application/n-quads FILE_EXT=nq # N-Quads
SetEnvIf Accept ^.*application/n-triples FILE_EXT=nt # N-Triples
SetEnvIf Accept ^.*text/turtle FILE_EXT=ttl # Turtle
Expand Down

0 comments on commit 98ee151

Please sign in to comment.