Forum Discussion
eLeCtRoN
Cirrus
Sep 17, 2025F5 iRule Reverse Proxy, rewrite, redirect
Hello everyone, We currently have a scenario where a URL is no longer available and needs to be (redirected). The starting point is when https://company.com/tool is accessed, it should (redirect) ...
Mayur_Sutare
MVP
Nov 25, 2025Hi eLeCtRoN Where F5 can do URL masking easily using iRules like given below, but as your target from where content will be taken is an IP address, did you tried to configure the pool using that IP and test the functionality? It will be easier option I feel.
Ref HOST Masking iRule
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "abc.com" } {
HTTP::header replace Host "xyz.com"
}
}
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
