Add a rewrite URL rule, which examines the URL of every request and determines if a pattern matches, in PingAccess.
When you define a regular expression in a rule (such as
if a pattern matches, PingAccess uses the information configured in the rewrite URL
rule and rewrites that portion of the URL into a path that the site can understand.
- Click Access and then go to .
- Click + Add Rule.
In the Name field, enter a unique name for the
The name can be up to 64 characters long. Special characters and spaces are allowed.
- From the Type list, select Rewrite URL.
In the Map From field, enter the
regexof the URL path and the query you want to match.
^/bank/(.*)- This example illustrates matching the
Request-Linein the request. The
^indicates "begins with") and places the rest of the URL into the first capture group
For more information on
regexpatterns, see the Oracle Java Docs.
In the Map To field, enter the URL path and the query
you want to generate.
/application/$1- This example defines the replacement string, which generates
/followed by the content of the first capture group.
To better understand the use of special characters, such as
$, in the replacement string, see the Oracle Java Docs.
- Click Save.