Forum Discussion
Ahmad_03_151082
Nimbostratus
Jul 01, 2015redirect URL iRule
Hello
I want to an iRule to redirect
http://anything.com/abc
to
http://something.com/abc
stan_piron
Cumulonimbus
Jul 02, 2015did you look the link??? your need is covered by it...
you can also create a LTM policy instead of iRule if you don't know how to manage irules...
Create a policy with require "http" and action "Forward".
Create a rule with
- condition HTTP Host equals anything.com
- action http reply redirect location http://[HTTP::host][HTTP::host]
Apply the policy in VS ressources... and finished...
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