paul_dcc
Oct 06, 2014Nimbostratus
I can't get this Irule to work
Hi Guy's,
I'm trying to get this Irule to work, but I'm having some problems;
when HTTP_REQUEST {
if { [HTTP::host] eq "dcc.dorsetforyou.com" and [HTTP::uri] ends_with "/Importer" } {
HTTP::header replace Host "vmcrglassfish01.dorsetcc.local:18181"
HTTP::uri "/Importer/"
}
if { [HTTP::host] eq "dcc.dorsetforyou.com" and [HTTP::uri] ends_with "/travelclaims" } {
HTTP::header replace Host "vmcrglassfish01.dorsetcc.local:18181"
}
elseif { [HTTP::host] eq "dcc.dorsetforyou.com" } {
HTTP::redirect "https://dorsetforyou.com"
}
}
Any idrea ?