Forum Discussion
Bertolazzi_7869
Apr 18, 2012Nimbostratus
HTTP Redirect: Hint or an example?
Hi everyone
!
Sorry for
my bad
English.
See if you
can help me, I'm a newbie in F5 and iRules and I search the following:
Redirect
requests ...
nitass
Apr 18, 2012Employee
i think Michael's irule is more general. by the way, you may combine two irules together.
e.g.
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch [HTTP::uri] {
"/ABC" { HTTP::redirect "http://[HTTP::host]/DEF" }
"/HIJ" { HTTP::redirect "htt://[HTTP::host]/KLM" }
"/DEF" { pool pool_def }
"/KLM" { pool pool_klm }
}
}
}
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