Forum Discussion
vandit_bhatia_1
Jul 03, 2014Nimbostratus
IRULE for HTTP HEADER STRING find and replace
Hi All,
i need to create an irule on LTM. The following is to be achieved
if the HTTP Header is "http://www.abc.com/dig/abc/sty.jsp" i need the LTM to find the multiple entries string for "abc" and replace it with "xyz".
Could anybody please help me on this.
Hi,
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "abc" } { set uri [string map -nocase {"abc" "xyz"} [HTTP::uri]] HTTP::uri $uri } }
- Vitaliy_SavransNacreous
Hi,
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "abc" } { set uri [string map -nocase {"abc" "xyz"} [HTTP::uri]] HTTP::uri $uri } }
- vandit_bhatia_1Nimbostratusthanks Vitaliy for your help.
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