Forum Discussion
fhoban_128910
Nimbostratus
Mar 12, 2014iRule help for beginner
hi,
Have a very easy question.I am looking for an i rule to do the following.
FW Public IP > LB listneing on Port 80 > Real Server Pool listening on Port 90xx
Service is advertised as follows ...
Kevin_Stewart
Employee
Mar 12, 2014Assuming there's a single DNS entry that resolves to the virtual server IP, and you only really care about the URI, something like this might work:
when HTTP_REQUEST {
if { not ( [string tolower [HTTP::uri]] equals "/nameofservice" ) } {
HTTP::respond 200 content "Service Unavailable"
}
}
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