Forum Discussion

  • Hi Ashok,

    While I understand that you want a redirect, I am not exactly sure where you want to append the long URL?

    That being said here is an example working of your redirect example.

    
    when HTTP_REQUEST {
    if {([HTTP::host] ends_with ".qa.abc.com") and ([HTTP::uri] eq "/UBB") } {
                  scan[HTTP::host] %s. prefix1 
                  HTTP::redirect "https://secure.qa.abc.com/servlet/Satellite?lsb=$prefix1&category=157&pagename=VFSWeb/HomePage
                 }
    }
    

    I hope this helps

    Bhattman