Forum Discussion
Victor_Im_96299
Nimbostratus
Sep 22, 2005url redirect to different pool
Hello everyone,
I'm new to this forum and need some help in creating an irule.
Currently running BIG-IP Kernel 4.6.2 Build117 and need to redirect a url
(http://xml.company-c...
Victor_Im_96299
Nimbostratus
Sep 22, 2005I modified this rule a little bit so that traffic from "xml.company-corporate.net" redirects to another url "http://cache.company.com/client.asp" with the pool(lappr80). Would this rule below work? I cant do any testing of this rule because of it being on a production environment.
Do the spaces inbetween each line of the rule affect how the rule works?
if (http_host equals "xml.company-corporate.net"
and http_uri starts_with "/client.asp") {
redirect to "http://cache.company.com/client.asp"
} else {
discard
}
or like
if (http_host equals "xml.company-corporate.net"
and http_uri starts_with "/client.asp") {
redirect to "http://cache.company.com/client.asp"
} else {
discard
}
Any input or help is appreciatd.
Thanks,
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
