Forum Discussion
Durga_Dash_2124
Nimbostratus
Jun 20, 20089.x to 4.x conversion
----------------
HTTP::redirect http://10.50.10.[getfield[IP::local_addr] . 4][HTTP::uri]
------------------
How do i translate the above 9.x rule to a 4.x rule?
3 Replies
- Colin_Walker_12Historic F5 AccountThis might be a little challenging, as you're looking to combine multiple strings to get the redirect location. Let me dig into the 4.x docs a little to try and refresh my memory on how that would work.
Colin - Durga_Dash_2124
Nimbostratus
I was dredging through the forums posts and read somewhere that 'getfield' function cannot be used to split up IP addresses because the local_addr variable in 4.x is in binary and not string format...hence this type of IP address mangling is not possible in 4.x.
If you find otherwise would be glad to know.
Thanks. - hoolio
Cirrostratus
I'm guessing this is the post you found (Click here). It doesn't look very promising to be able to select the last octet of the server IP as a component of the redirect.
Aaron
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
