Forum Discussion
DarkSideOfTheQ_
Nimbostratus
Jan 23, 2009irule to return status code
I'm still learning here, so bear with me. I am trying to write an irule that will catch requests trying to pull content from a specific set of hosts (ex. myserver1.domain.com, myserver2.domain.com, my...
dennypayne
Employee
Jan 23, 2009Hi,
You'd want to use HTTP::host rather than HTTP::uri in this case, since myserver is part of the hostname and not the uri. This also assumes that those hostnames all point to the same virtual server address in DNS. Is that what you are looking for?
Also, just responding with a 200 and no content probably won't yield much, but maybe that's what you want.
Denny
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