Prepend uri - simple

Hi, I am trying to write a very simple irule. I need to add /abc to the hostname if just the hostname is entered.

Could someone please help?

Kind Regards

Kate

Hi Kate,

Here is example

when HTTP_REQUEST { 
   if { [HTTP::uri] equals "/" } { 
     HTTP::uri /abc 
   } 
 }

Click here for more info about HTTP::uri

I hope this helps,

CB