forked from OBOFoundry/purl.obolibrary.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test2.htaccess
20 lines (14 loc) · 862 Bytes
/
test2.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# DO NOT EDIT THIS FILE!
# Automatically generated from "tools/examples/test2/obo.yml".
# Edit that source file then regenerate this file.
RedirectMatch temp "(?i)^/obo/obo/project$" "http://example.org/project.html"
RedirectMatch temp "(?i)^/obo/obo/branches/(.*)$" "http://example.org/branches/$1"
RedirectMatch seeother "(?i)^/obo/test2/TEST_(\d+)$" "http://example.org/about/TEST_$1"
### Generated from project configuration files
# Base redirect for TEST2
RedirectMatch temp "(?i)^/obo/test2$" "http://example.org/test2"
# Products for TEST2
RedirectMatch temp "(?i)^/obo/test2.owl$" "http://example.org/test2.owl"
RedirectMatch temp "(?i)^/obo/test2.obo$" "http://example.org/test2.obo"
# Term redirect for TEST2
RedirectMatch seeother "^/obo/TEST2_(\d+)$" "http://www.ontobee.org/browser/rdf.php?o=TEST2&iri=http://purl.obolibrary.org/obo/TEST2_$1"