Forum Discussion
VernonWells
Oct 04, 2016Employee
Ah, I see. You want to remove /test for an Request Path that is /test or begins with /test/, correct? If so:
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/test" {
HTTP::path "/"
pool test
}
"/test/*" {
HTTP::path "[substr [HTTP::path] 5]"
pool test
}
}
}