Skip to content

Commit

Permalink
Merge pull request perma-id#4499 from dgarijo/master
Browse files Browse the repository at this point in the history
change to latest redirect
  • Loading branch information
dgarijo authored Oct 28, 2024
2 parents 3ebff86 + f0a3a5b commit b171a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fair4ml/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ RewriteEngine on

# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^$ https://rda-fair4ml.github.io/FAIR4ML-schema/release/0.0.1/fair4ml.jsonld [R=303,L]
RewriteRule ^$ https://rda-fair4ml.github.io/FAIR4ML-schema/release/0.1.0/fair4ml.jsonld [R=303,L]

# Rewrite rule to serve HTML
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ https://rda-fair4ml.github.io/FAIR4ML-schema/release/0.0.1/index.html [R=303,L]
RewriteRule ^$ https://rda-fair4ml.github.io/FAIR4ML-schema/release/0.1.0/index.html [R=303,L]



Expand Down

0 comments on commit b171a8f

Please sign in to comment.