Forum Discussion

FreddieFox_1824's avatar
FreddieFox_1824
Icon for Nimbostratus rankNimbostratus
Apr 26, 2016

Simple BMC Remedy Redirect

I need all URLs entered to redirect to this URL:

 

https://adttstremedyweb.test.com/arsys

 

So if the user enters: remedyitsmtest.test.com/arsys or even if the user enters: https://remedyitsmtest.test.com/arsys/shared/login.jsp?/arsys/home they get the new URL: https://adttstremedyweb.test.com/arsys

 

Old: remedyitsmtest.test.com/arsys Old: remedyitsmtest.test.com/arsys/shared/login.jsp?/arsys/home New: https://adttstremedyweb.test.com/arsys

 

So no matter what they punch in if they are trying any URL against the old system I need them at the new system but the URL must ONLY include /arsys and nothing else.

 

1 Reply

  • If the URI is irrelavent when pointing to an old host name, you could use a simple host name redirect on the target virtual server:

     when HTTP_REQUEST {
    if { [HTTP::host equals "remedyitsmtest.test.com" }
    HTTP::redirect "https://adttstremedyweb.test.com/arsys"
    }
    }