Forum Discussion
spalande
Nacreous
Jun 07, 2019Rewrite first uri string
Requirement is to rewrite only first uri string. Eg. https://www.company.com/test/example/test/index.htm to https://www.company.com/testUI/example/test/index.htm With string map syntax,...
Stanislas_Piro2
Cumulonimbus
Jun 08, 2019you can also try this:
when HTTP_REQUEST {
if {[scan [HTTP::path] "/test/%s" var]} {
HTTP::path /testUI/$var
}
}
- Lee_SutcliffeJun 08, 2019
Nacreous
Nice solution Stan, didn’t think of doing it that way
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