Forum Discussion
Domel_163525
Nimbostratus
Probably silly question but not very good in coding iRules...
What am I missing here:
when HTTP_REQUEST { if { [ class match [string tolower [HTTP::uri]] contains web-exchange-external-datagroup ] } { Stop processing the iRule for this event here return } elseif {[HTTP::uri] equals "/owa"] } { HTTP::respond 301 Location "https://mynewurl.co.uk" } }
eneR
Dec 01, 2015Cirrostratus
What does not work? Or is it working but not as expected?
Maybe you want to append the uri to your new location url?
{ HTTP::respond 301 Location "https://mynewurl.co.uk[HTTP::uri]" }