Forum Discussion
Ben_Conrad_1026
Nimbostratus
Apr 05, 2006Simple iRule not working
Hi folks,
I am having a problem with a simple iRule, I am trying to do the following:
- mypool1 = www.company.com, has 1 node, virt. server is myvs1
- mypool2 = mystring.compa...
JRahm
Admin
Apr 05, 2006MOst likely you are getting the 404 because mystring is a hook you've added for traffic management purposes, yet isn't a valid destination on your server. If this assumption is correct, you need to remove mystring once your condition is met:
when HTTP_REQUEST {
if { [HTTP::uri] contains "mystring" } {
HTTP::uri "/"
pool mypool2
}
}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