-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
26 lines (14 loc) · 844 Bytes
/
.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
# HTACCESS rules for the w3id.org/db namespace
Options +FollowSymLinks
RewriteEngine on
## Redirect the top level
RewriteRule ^$ https://github.com/mapping-commons/database-purl [R=302]
## Redirect main-level documentation and resources
RewriteRule ^docs$ https://github.com/mapping-commons/database-purl/blob/main/README.md [R=302,L]
## Redirects for individual databases
### Database: HGNC
#### Maintainers (need to sign of on changes): One of [@matentzn, @udp, @cmungall]
RewriteRule ^hgnc/gene/(\d+)$ https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:$1 [R=302]
#### Alternative (needs some discussion)
#### RewriteRule ^hgnc/gene/HGNC:(\d+)$ https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:$1 [R=302]
RewriteRule ^hgnc/group/(\d+)$ https://www.genenames.org/data/genegroup/#!/group/$1 [R=302]