Forum Discussion
santhana_121263
Nimbostratus
Mar 12, 2013Persist Cookie and Domain Modification iRule question
Hi,
I am newbie to F5 and I am trying to find the following iRule is valid. or How can I achieve something similar to below.
In Plain text
Browser sends a request to www....
Fabian_124018
Nimbostratus
Mar 12, 2013The example looks like a similar problem I've got at the moment.
The example seems to work with a sub-domain within a same domain:
e.g. https://accesscontrol.abc.com.au/
But how would you get the F5 to use an iRule or iRules to:
1. Detect a referer URL in one domain (like in this example; http://foo.com.au/AppStart/something);
2. use the iRule to redirect to another domain (like in the example; http://abc.com.au/AppStart/something) which is passed back to another F5 VIP;
3. Another iRule would detect the redirected referer URL (like in the example; http://abc.com.au/AppStart/something);
4. Create a cookie called SetRequestAuthnContext (as in the example) with a specific cookie value (like in the example; Something) in the redirected referer domain (like in the example; http://abc.com.au)
5. After setting the cookie in the abc.com.au domain; redirect back to the original referer URL (http://foo.com.au/TheApplication)
6. The original referer URL will read the SetRequestAuthnContext cookie and forwarded their browser to a specific element within a original referer URL.
It looks like Santhana's rule suggests the above steps yet I'm a little lost when it comes to coding the F5 iRule itself.
Fabian
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