Forum Discussion
vani_257547
Apr 05, 2016Nimbostratus
irule editor
I need Irule to redirect as below
when HTTP_REQUEST {
if { [HTTP::host] contains "visitor-stg.cummins.com" } {
HTTP::redirect "https://loginstage.cummins.com/oamfed/idp/initiatesso?providerid=V...
vani_257547
Apr 05, 2016Nimbostratus
when HTTP_REQUEST {
if { [HTTP::host] contains "visitor.qwerty.com" } {
pool visitor-stg}
"default" {
HTTP::redirect "https://loginstage.qwerty.com/oamfed/idp/initiatesso?providerid=Visitor"
}
}
}
this is what i am looking for but getting error.
01070151:3: Rule [/Common/visitor] error: /Common/visitor:5: error: [undefined procedure: default]["default" {
HTTP::redirect "https://loginstage.qwerty.com/oamfed/idp/initiatesso?providerid=Visitor"
}]
/Common/visitor:9: error: [undefined procedure: ][ ]
/Common/visitor:10: error: [command is not valid in the current scope][}]
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