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) ...
Injeyan_Kostas
Nacreous
Sep 17, 2025Hello,
What you asking can be done but it's not a redirect.
You will just send the traffic to a different pool.
So you have to create a new pool and add as member the IP of the server
You can then create an irule like this
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"company.com"
{
switch -glob [string tolower [HTTP::path]]
{
"/tool/*"
{
pool new_pool
}
default
{}
}
}
default
{}
}
}
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