Forum Discussion
Sean_M__85845
Dec 14, 2011Nimbostratus
Performing a Redirect with URL Variables
I am trying to create an iRule that will perform a redirect using information within the original URL and creating a redirect with that information. Here's and example of what it would look like: ...
hooleylist
Dec 14, 2011Cirrostratus
Hi Sean,
You can parse the value of nodeid, objid or any other URI parameter using [URI::query [HTTP::uri] $parameter_name]:
http://devcentral.f5.com/wiki/iRules.URI__query.ashx
Are there specific URIs you want to check for redirecting? If so you can use a switch statement to check the URI:
http://devcentral.f5.com/wiki/iRules.switch.ashx
Aaron
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