Forum Discussion
Krys_Frankiewic
Nimbostratus
Aug 25, 2016HTTP 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%2FfederationServic...
Vijay_E
Cirrus
Aug 25, 2016Did 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"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects