Forum Discussion
aandreyy_293459
Nimbostratus
Jul 25, 2017iRule for redirecting to different uri
iRule for redirecting to different uri
i have problem like have redirection in iRule
when HTTP_REQUEST "/url" use pool POOL
now i need have
"/newurl" use pool NEWPOOL but need forward ...
aandreyy_293459
Nimbostratus
Jul 25, 2017iRule is working, but as i said it is redirecting to old pool. Looks like it is checking after replacing uri again and findind old pool redirection.
- P_KJul 25, 2017
Altostratus
I'm sorry.. i should've been clear.. Its actually sending me to new pool when using newurl and also replacing the /newurl with /url.
Add logging to see if its sending to old pool.
log local0. "sending to oldpool with [HTTP::uri]" --> add this in first if condition
log local0. "sending to Newpool with [HTTP::uri]" --> add this in second if condition
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