Forum Discussion
wlopez
Apr 02, 2018Cirrocumulus
iRule to replace content of the location header on HTTP Responses
I'm trying to create an iRule that will detect if a web server is sending it's private IP address in the location header on it's responses. The logic is to read the location header in the responses, ...
JRahm
Feb 24, 2024Admin
nice, antonio503 . If you scale up to a lot of IPs and get in a long list of or statements, you can dump the IPs in a data-group and check the header value against your list. The lookup against hashed data in a data-group large data set is a way more efficient operation. But at two IPs, this is a perfect solution and needs no alteration; just adding context for you and others should scale be an issue.
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