Forum Discussion
Kalpesh_48932
Nimbostratus
Oct 05, 2012irule with Contains operator
Hi All,
I have created irule, in fact wanted to have similar irule with contains operator.
when HTTP_REQUEST {
if {
[HTTP::uri] contains "AMSLang"
} then { ...
nathe
Cirrocumulus
Oct 05, 2012Or do you need to redirect all other requests to port 8200?
when HTTP_REQUEST {
if {[HTTP::uri] contains "AMSLang"} {
HTTP::redirect "http://sgsiaxhrmsgr1.saint-gobain.com:8201"
} else {
HTTP::redirect "http://sgsiaxhrmsgr1.saint-gobain.com:8200"
}
}
Hope this helps,
N
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
