Test Urlrewrite - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Refer to Appendix C, "Stylesheet Refresh Policy configuration," on page 1005 for
procedural details regarding the creation and implementation of URL maps and
Stylesheet Refresh Policies.
Related Commands
interval urlmap, match, test urlmap, urlmap, urlrefresh, xslrefresh
Examples
v Tests two candidate matches against the 2aday Stylesheet Refresh Policy. Output

test urlrewrite

Tests a URL against a URL Rewrite Policy.
Syntax
test urlrewrite URL-rewrite-policy URL
Parameters
URL-rewrite-policy
URL
Guidelines
The test urlrewrite command tests a URL against a URL Rewrite Policy. Use this
command to verify or troubleshoot a URL Rewrite Policy. The command evaluates
the candidate URL in terms of the PCRE specified in the URL Rewrite Policy rules,
and returns the rewritten URL and the stylesheet URL.
PCRE documentation is available at the following web site:
Related Commands
absolute-rewrite, urlrewrite
120
Command Reference
confirms the matches and displays the refresh interval and the match pattern.
# configure terminal
Global configuration mode
# urlrefresh 2aday
URL refresh mode
# interval urlmap ShipmentQuery 43200
# interval urlmap PriceQuery 4300
# exit
# test urlrefresh 2aday https://www.distributer.com/XML/xforms/2HTML.xsl
match: 43200 seconds. rule:https://www.company.com/XML/stylesheets/*
# test urlrefresh 2aday https://www.amajoraccount.com/Zeus/RenderHtml.xsl
match: 43200 seconds. rule:https://www.amajoraccount.com/Zeus/*xsl
#
Specifies the name of the URL Rewrite Policy to test.
Specifies the candidate URL.
http://www.pcre.org

Advertisement

Table of Contents
loading

Table of Contents