Forum Discussion
wick54
Nimbostratus
Nov 19, 2019URI Redirect using an iRule
Hi Guys, We have a requirement for an application that we are migrating to F5 to have " /" added to end of particular URI. eg: https://abc.com/itsm/console needs to be https://abc.com/itsm/co...
Simon_Blakely
Employee
Nov 19, 2019First, using starts_with is not a good idea - you need an exact match:
e.g. the request is
This matches the starts_with "/itim/console"
so the string map occurs and replaces "/itim/console" with "/itim/console/"...
HTTP::uri is now /itsm/console//
If this is an APM portal, then maybe use a Rewrite profile and match the specific URI you need to rewrite
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects