Forum Discussion
ProxyPass redirect problem
I know this is an old question, but I tackled the same issue in 2016 when I first started as a F5 admin.
I created a ProxyPass_DefaultPool irule that was ahead of the ProyPass irule for the VS in question. TheProxyPass_DefaultPool searched the same class as the ProxyPass irule does, but it only matched on starts_with hostname and then start_with uri, instead of hostname and uri combined, then it set the variable $ppass to the pool name found, if any.
This increased the likelihood of finding a default pool to use for all requests to the target hostname.
If ProxyPass_DefaultPool fails to find a pool name to use it logs that.
All I need to do is monitor the NO DEFAULT POOL found log messages and make a data group entry to fix it.
So far works like a charm
One more advantage was not having to modify the ProxyPass irule. This leaves the door open for upgrading to a new version without having to migrate local embedded code.
Recent Discussions
Related Content
* 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