Forum Discussion

vinod1's avatar
Icon for Altostratus rankAltostratus
Nov 22, 2022

iRULE - Redirect irule - Help required

Hello ,  I am working on a redirect request using an iRULE User has requested the following redirect,*   to  redirect to
  • Hi vinod1 , 
    you can do it without wildcard in uri , it is sufficient to use "starts_with" operator. 
    Please check this : 

    when HTTP_REQUEST {
       if { [HTTP::host] equals "" && [HTTP::uri] starts_with "/Projectsite/"}{
       HTTP::redirect ""

    I hope it fits with your requirements