Forum Discussion
Dipta_02_148889
Nimbostratus
Mar 10, 2015Irule Redirection not working Properly
I have a url hiringmanagement.fmr.com com which should redirect to
http://fidelity.taleo.net/smartorg/saml20authnrequestservlet.jss?redirectionURI=https%3A%2F%2Ffidelity.taleo.net%2Fsmartorg%2Fsmarto...
nitass
Employee
Mar 10, 2015Can you explain the irule
the author stores url in data group (spaces_sharepoint_redirect_class) instead of hard-coding it in the irule.
I was wondering if I can have a simple irule wherein i put any HTTP_Request for hiringmanagement.fmr.com com should go to http://fidelity.taleo.net/smartorg/saml20authnrequestservlet.jss?redirectionURI=https%3A%2F%2Ffidelity.taleo.net%2Fsmartorg%2Fsmartorg%2Fcommon%2Ftoc.jsf%3Flang%3Den.
e.g.
[root@ve11c:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [HTTP::host] eq "hiringmanagement.fmr.com" and [HTTP::uri] eq "/" } {
HTTP::redirect "http://fidelity.taleo.net/smartorg/saml20authnrequestservlet.jss?redirectionURI=https%3A%2F%2Ffidelity.taleo.net%2Fsmartorg%2Fsmartorg%2Fcommon%2Ftoc.jsf%3Flang%3Den"
}
}
}
[root@ve11c:Active:In Sync] config curl -I http://hiringmanagement.fmr.com
HTTP/1.0 302 Found
Location: http://fidelity.taleo.net/smartorg/saml20authnrequestservlet.jss?redirectionURI=https%3A%2F%2Ffidelity.taleo.net%2Fsmartorg%2Fsmartorg%2Fcommon%2Ftoc.jsf%3Flang%3Den
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
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