-
Notifications
You must be signed in to change notification settings - Fork 3
/
head.htaccess
77 lines (45 loc) · 3.23 KB
/
head.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Header set Access-Control-Allow-Origin *
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ https://www.go-fair.org/ [R=302,L]
RewriteRule ^principles(/(terms)?)?$ https://w3id.org/fair/principles/terms/ [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^principles/terms/$ https://peta-pico.github.io/FAIR-nanopubs/principles/index-en.html [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^principles/terms/$ https://peta-pico.github.io/FAIR-nanopubs/principles/ontology.ttl [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^principles/terms/$ https://peta-pico.github.io/FAIR-nanopubs/principles/ontology.nt [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/rdf+xml
RewriteRule ^principles/terms/$ https://peta-pico.github.io/FAIR-nanopubs/principles/ontology.xml [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/trig
RewriteRule ^principles/terms/$ https://peta-pico.github.io/FAIR-nanopubs/principles/ontology.trig [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^principles/terms/([^/]+)$ https://peta-pico.github.io/FAIR-nanopubs/principles/index-en.html#https://w3id.org/fair/principles/terms/$1 [R=302,L,NE]
RewriteRule ^icc(/(terms)?)?$ https://w3id.org/fair/icc/terms/ [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^icc/terms/$ https://peta-pico.github.io/FAIR-nanopubs/icc/index-en.html [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^icc/terms/$ https://peta-pico.github.io/FAIR-nanopubs/icc/ontology.ttl [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^icc/terms/$ https://peta-pico.github.io/FAIR-nanopubs/icc/ontology.nt [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/rdf+xml
RewriteRule ^icc/terms/$ https://peta-pico.github.io/FAIR-nanopubs/icc/ontology.xml [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/trig
RewriteRule ^icc/terms/$ https://peta-pico.github.io/FAIR-nanopubs/icc/ontology.trig [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^icc/terms/(.+)$ https://peta-pico.github.io/FAIR-nanopubs/icc/index-en.html#https://w3id.org/fair/icc/terms/$1 [R=302,L,NE]
RewriteRule ^fip(/(terms)?)?$ https://w3id.org/fair/fip/terms/ [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^fip/terms/$ https://peta-pico.github.io/FAIR-nanopubs/fip/index-en.html [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^fip/terms/$ https://peta-pico.github.io/FAIR-nanopubs/fip/ontology.ttl [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^fip/terms/$ https://peta-pico.github.io/FAIR-nanopubs/fip/ontology.nt [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/rdf+xml
RewriteRule ^fip/terms/$ https://peta-pico.github.io/FAIR-nanopubs/fip/ontology.xml [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} application/trig
RewriteRule ^fip/terms/$ https://peta-pico.github.io/FAIR-nanopubs/fip/ontology.trig [R=302,L,NE]
RewriteCond %{HTTP_ACCEPT} text/html
RewriteRule ^fip/terms/(.+)$ https://peta-pico.github.io/FAIR-nanopubs/fip/index-en.html#https://w3id.org/fair/fip/terms/$1 [R=302,L,NE]
RewriteRule ^maturity_indicator/?$ https://github.com/FAIRMetrics/Metrics [R=302,L]
RewriteRule ^(3pff/.*)$ https://nanodash.knowledgepixels.com/term?id=https://w3id.org/fair/$1