-
Notifications
You must be signed in to change notification settings - Fork 6
/
guide-redirects.properties
18 lines (15 loc) · 1.12 KB
/
guide-redirects.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Redirects for Guides
# A properties file for redirects. Should aim to be as specific as possible.
# The key is the url pattern to match on. In general it is best to do specific
# source to target redirects, so /index.html/ to /index.html rather than a
# wildcard. You can do a wildcard by adding a * at the end. If you add a * at
# the end, all instances of the string prior to the * are replaced by the property
# value. Unlike servlet url patterns a * can be at the end of a string without
# a preceeding / however, this should be done sparingly since it is more expensive.
# If the pattern ends with [URI]* but the incoming request is for just [URI],
# e.g. there's nothing for the * wildcard to match, then the redirect is not applied.
# For example, if /a/*=/b/ and the incoming request is for "/a/" it will not be redirect to "/b/"
# (for that to happen, /a/=/b/ will also need to be included in the redirect list.
################################################################################################
/guides/microprofile-intro.html=/guides/cdi-intro.html
/guides/cloud-openshift.html=/guides/cloud-openshift-operator.html