Forum Discussion
Sean_M__85845
Feb 08, 2012Nimbostratus
HTTP::redirect Help
I am looking for some help to create an iRule that will look for a variable that follows "/open/" in the URI and then reuses that variable in the redirect.
Basically when a user hits the fol...
Jim_Gray_43725
Feb 08, 2012Nimbostratus
I think this might work:
when HTTP_REQUEST {
set id [findstr HTTP::path "/open/" 0 8]
if { $id != "" } {
HTTP::respond 301 location http://www.xyz.com/MigrationID.aspx?migrationID=$id
}
}
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