Forum Discussion
irule + regex
Hi All,
New to F5 and irules in general.
We have a situation where we need to grab a portion of the HTTP Post that come into the BIGIP, Look for string, and send a manipulated HTTP Post to the Pool.
My thought was to use Regexp to grab the needed potion of the URL, put that into a variable, then create a new HTTP POST and send it to the specified Pool.
Any thoughts or advice? or example scripts I can view/modify
Example:
Initial HTTP POST: https://example.com/-payload/somefile.html
Regex grabs the payload and put it into a var.
Modified HTTP Post that needs to go to the Pool will look like this : https://payload.example.com/somefile.html
Recent Discussions
Related Content
* 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