Forum Discussion
JG_249184
Altocumulus
Oct 14, 2016http host request lock down
Hello,
I am trying to write a simple irule that locks down the HTTP host request to the specific FQDN - e.g., app.mydomain.com. I don't want anyone typing in the short name app or the VIP IP add...
nathe
Cirrocumulus
Oct 15, 2016try this instead:
when HTTP_REQUEST {
if { not ([HTTP::header "Host"] equals "app.mydomain.com" } {
reject
}
}
See how that goes,
N
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