Forum Discussion
DarthW_125478
Nimbostratus
Dec 27, 2012iRule to ping host
I'm pretty new to the Big IP load balancers. We have a couple servers on which we have SharePoint sites load balanced. The load balancing appears to work fine. Obviously, I've set up a Virtual Ser...
What_Lies_Bene1
Cirrostratus
Jan 02, 2013It could be that you've used a line break that shouldn't be there on the line with HTTP::respond, it should all be one line. If it is still an issue, maybe it's the event order and we should skip one;
when HTTP_REQUEST {
if { string tolower [HTTP::uri] equals "/whichserver" } {
HTTP::respond 200 content "Real server IP is: [LB::server addr]" noserver Content-Type "text/html" Connection "Close"
Stop processing the iRule for this event here
return }
}
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