Forum Discussion
L4L7_53191
Sep 03, 2009Nimbostratus
Wow I got so focused on showing how string map may help that 404 I spaced the [HTTP::host] bit - thanks for the catch. At any rate, it may help to yank 'bar' from the URI if that's causing the issue on the backend. Something like:
when HTTP_REQUEST {
if {[HTTP::uri] equals "/bar"} {
HTTP::uri [string map {"bar" ""} [HTTP::uri]]
pool Bar_pool
}
}
-Matt