Forum Discussion
rickylev_247499
Nimbostratus
Mar 13, 2019Solved - Remove Route Domain from iRule output
Hello,
I have a test VIP that i've added an iRule to insert a custom header with the client IP, similarly to an X-Forwarded-For header (but with a custom name). The issue i'm running into is that the...
Rico
Cirrus
Mar 13, 2019This should remove anything after the '%' sign
when HTTP_REQUEST {
HTTP::header insert CLIENTIP [regsub {%.*} [IP::client_addr] ""]}
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