Skip to content

Commit

Permalink
add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simontaurus committed Dec 13, 2023
1 parent 56f8b8d commit 4892875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emmo/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RewriteEngine On
##########################################################################

# Rule 1: https://w3id.org/emmo/domain/{DOMAIN}
##TESTv1 '/emmo/domain-test --header "Accept: text/html"' "https://emmo-repo.github.io/domain-test/test.html"
##TESTv1 '/emmo/domain-test --header "Accept: application/rdf+xml"' "https://emmo-repo.github.io/domain-test/test.ttl"
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteRule ^domain/(domain-)?([^/]+)$ https://emmo-repo.github.io/$1$2/$2.html [R=303,NE,L]
Expand Down

0 comments on commit 4892875

Please sign in to comment.