Forum Discussion
Vijay_E
Jul 15, 2016Cirrus
I am not sure if it will work but I think you are looking for something like this:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "abc.com" } {
HTTP::uri [string map -nocase {"abc.com" "abc-[HTTP::cookie value cookie-name].com"} [HTTP::uri]]
}
}