Forum Discussion
Steve_Knapp
Altostratus
Dec 15, 2016Irule to rewrite URI with variable information
Hi,
Novice Irule person here and not finding exactly what I am being asked to do on DevCentral - any help appreciated
Request = https://www.example.com/somepath/;jessionID=couldbeanything
- or -
Request = https://www.example.com/someotherpath/;jessionID=couldbeanything
rewrite with ;jessionID... removed (always at end or URI)
1 Reply
- cjunior
Nacreous
Hi,
You could do it maybe like this:useful when having one semicolon in uri remove all after including ";", before send the request to the pool members when HTTP_REQUEST { HTTP::uri [lindex [split [HTTP::uri] ";"] 0] }Just one of many ways...
Regards.
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
