How to create a Rewrite policy that will change characters in URL to lowercase

How to create a Rewrite policy that will change characters in URL to lowercase

book

Article ID: CTX564378

calendar_today

Updated On:

Description

How to create a Rewrite policy that will change characters in URL to lowercase


Instructions

Bind the following policy to the required virtual server.

add rewrite action rewrite_act replace "HTTP.REQ.URL.SET_TEXT_MODE(IGNORECASE)" HTTP.REQ.URL.TO_LOWER

add rewrite policy rewrite_pol HTTP.REQ.URL.REGEX_MATCH(re/[A-Z]+/) rewrite_act

Issue/Introduction

How to create a Rewrite policy that will change characters in URL to lowercase. add rewrite action rewrite_act replace "HTTP.REQ.URL.SET_TEXT_MODE(IGNORECASE)" HTTP.REQ.URL.TO_LOWER add rewrite policy rewrite_pol HTTP.REQ.URL.REGEX_MATCH(re/[A-Z]+/) rewrite_act

Additional Information

https://docs.netscaler.com/en-us/citrix-adc/current-release/appexpert/rewrite.html