Forum Discussion
Gustavo_Lazarte
Nimbostratus
Aug 22, 2006iRule Not working properly
I have the following iRule setup for my enviroment for reverse proxy
when HTTP_REQUEST {
if {[HTTP::uri] contains "***.***.***.148"}{
if {[HTTP::uri] ends_with ".jpg"}{
...
Chad_Roberts_21
Nimbostratus
Aug 23, 2006Is it possible that you mean for the IP address to be the server and not the uri? It sounds to me like you mean for that to be the host, and that the asterisks were put in to mask the true IP address of your environment for the sake of security. I may be wrong, but if that is the case, try changing the first if statement to {[HTTP::host] equals "***.***.***.148"}, where the address is the true IP.
If this is not the case, I, too, am interested in the questions Joe asked.
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