Post of the Week: HTTP Redirect using Datagroups
Published Sep 30, 2017
Version 1.0Was this article helpful?
Hi,
Assuming that you using
$uri
in if
and then use $old_uri
inside this will not work, so I suggest something like that:
if ( [set new_uri [class match -value [HTTP::uri] eq DATAGROUP]] ne ""} {
HTTP::uri "$new_uri"
pool $XYZ
}
It is assuming that your DG is set like that: old_uri := new_uri
Piotr