Forum Discussion
Gustavo_Lazarte
Nimbostratus
Sep 06, 2006iRule Not working SIMPLE AND URGENT
The following iRules should send the .jpg traffic to 10.1.0.50
when HTTP_REQUEST {
if {[HTTP::uri] contains "206.112.74.148"}{
if {[HTTP::uri] ends_with ".jpg"}{
...
Gil_Yoder_43271
Nimbostratus
Sep 07, 2006Basically your rule says if the requested host does not contain "206.112.74.148", use the default pool, which you say is 10.1.0.50. If someone makes a request with a DNS name rather than the IP address, the host name will not contain "206.112.74.148". For example if the name was www.mysite.com, and this name resolved to "206.112.74.148" a request to www.mysite.com would bypass your rule and the default pool would be used.
Something like this is likely why all traffic is going to 10.1.0.50.
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