Forum Discussion
cdougall_14195
Jun 24, 2011Cirrus
Help cleaning up IRule redirect with URI rewrite.
So, right up front, I'm an old router guy, so scripting is not my forte. The request is to have requests that come into a VIP be redirected to another URL, change the URI, but maintain all the quer...
Michael_Yates
Jun 27, 2011Nimbostratus
It looks to me like you are trying to capture the HTTP::query and then verify the HTTP::path ends with your Data Group Value.
Example: www.website.com/abc?value=100
HTTP::uri = /abc?value=100 (Includes "/")
HTTP::path = /abc (Includes "/")
HTTP::query = value=100 (Does not include "?")
You should try setting a variable to capture the query and then compare the path. Then redirect to the next destination and append the HTTP::query.
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