Forum Discussion
ReynaldoQ_14206
Nimbostratus
Jan 10, 2018Need an iRule to stop LTM from responding to https via IP address
We have a site that is responding to and this is oustdie of our access standards.
How do write an iRule to restrich such access.
kolom
Altostratus
Jan 10, 2018Hello ReynaldoQ,
You can try the following iRule , i specified here the action as reject. you can change it to drop , redirect to another host , or return a specific HTTP response.
when HTTP_REQUEST {
if { !([string tolower [HTTP::host]] equals "test.com")}{
reject
}
}
- ReynaldoQ_14206Jan 10, 2018
Nimbostratus
Much appreciated Kolom.
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
