Forum Discussion
Peter_125758
Nimbostratus
Jun 25, 2014Forward to specific pool and remove URL's path
I am really stuck and can't figure what's wrong and need help. BTW, I am a newbie.
Rewrite to URL and strip part of the URI
Example
1)
URL https://www.xyz.com/index1.html
default POOL1
2)
...
Peter_125758
Nimbostratus
Jun 30, 2014Thank you very much, I still got a 404 error when browse the pool. I mean once the forward to POOL2, user should be able to browse everything in POOL2 per your advice. I wonder if the version 11.3 has a bug w/ iRule.
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/ping" } { HTTP::path "/[string range 0 6 end]" pool POOL2 } else { pool POOL1 } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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