F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Krys_Frankiewic's avatar
Krys_Frankiewic
Icon for Nimbostratus rankNimbostratus
Aug 24, 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"
    }
    }