Forum Discussion
Krishnamurali_2
Nimbostratus
Aug 16, 2017Host header match - Http host
I am looking for the Irule for the improper input handing (Host header)
Basically application uses the input coming from the Host or X-Forwarded-Host request headers as part of the response without ...
Stanislas_Piro2
Cumulonimbus
Aug 21, 2017Try this
when HTTP_REQUEST {
If { !([HTTP::host] equals "abc.com") } {
HTTP::respond 404 content "page not found"
}
}
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