Forum Discussion
matt_w_53423
Aug 03, 2009Nimbostratus
Are your referring to this example? where "/prefix" is the uri
Make uri path start with /prefix if it doesn't already
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/prefix") } {
HTTP::uri /prefix[HTTP::uri]
}
}
The other example is with two separate pools. I am using the same pool with 2 different VIPs. What i'm trying to achieve is when an http request comes in to the vip it redirects to the URI. The URIs reside on the same pool of servers. Does that make sense?