Forum Discussion
JG
Jan 25, 2018Cumulonimbus
Caching? Try this one:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/sap/opu" {
HTTP::respond 301 Location "http://nwgtw.corp.nielsen.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html" Cache-Control no-cache Connection close
}
"/abc" {
HTTP::respond 301 Location "http://abc.com" Cache-Control no-cache Connection close
}
"/123" {
HTTP::respond 301 Location "http://123.com" Cache-Control no-cache Connection close
}
"/xyz" {
HTTP::respond 301 Location "http://xyz.com" Cache-Control no-cache Connection close
} default {
HTTP::respond 301 Location "https://website.com/irj/portal" Cache-Control no-cache Connection close
}
}
}
.