Forum Discussion
js55161_47239
Nimbostratus
Jul 10, 2013irule to strip out a uri
Hi, does anyone know how to strip out a word from a uri via irule? The original url a client enters in a web browser is https://blah.blah.com/a/b/c.asmx but i need to strip out the a bit as the web p...
Kevin_Stewart
Employee
Jul 10, 2013Something like this perhaps:
...
if { [string tolower [HTTP::uri]] starts_with "/a" } {
scan $URL {/%*[^/]%s} newuri
log local0. $newuri
}
...
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