For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Krys_Frankiewic's avatar
Krys_Frankiewic
Icon for Nimbostratus rankNimbostratus
Aug 25, 2016

HTTP redirect

I need to redirect http://qat.coworks.bns to the link below

 

https://wam.uat.coworks.bns/opensso/UI/Login?realm=bns&module=LDAP&goto=https%3A%2F%2Fwam.uat.coworks.bns%2Fopensso%2FfederationService.jsp%3Fsp%3Dhttps%3A%2F%2Fxcore3.fgvms.com%2FSSOLogin%3FSSOParams%3Dcompany%253DBNS%253B%253Breturningurl%253DcloseWindow%26relayStateURL%3Dcompany%3DBNS%3B%3Breturningurl%3DcloseWindow.

 

Can F5 support this request?

 

2 Replies

  • Did you try something like this:

    when HTTP_REQUEST {
    if { ([HTTP::host] eq "qat.coworks.bns") and ([HTTP::uri] eq "/") } {
    HTTP::respond 301 Location "https://wam.uat.coworks.bns/opensso/UI/Login?realm=bns&module=LDAP&goto=https%3A%2F%2Fwam.uat.coworks.bns%2Fopensso%2FfederationService.jsp%3Fsp%3Dhttps%3A%2F%2Fxcore3.fgvms.com%2FSSOLogin%3FSSOParams%3Dcompany%253DBNS%253B%253Breturningurl%253DcloseWindow%26relayStateURL%3Dcompany%3DBNS%3B%3Breturningurl%3DcloseWindow"
    }
    }