Forum Discussion
dyobbs_25515
Feb 03, 2012Nimbostratus
iRule to redirect a variable to http
Guys hi,
I'm newbie here. I wanted to create an iRule, that truncates the later part of the message from the "http://.acme.com" to http://
any help is appreciated.
Will t...
dyobbs_25515
Feb 15, 2012Nimbostratus
Nitass,
thanks! for the 2nd query, here's the setup:
SETUP:
1.Inbound and outbound traffic falls on the same VLAN. Using same interface.
2.INBOUND: From internet to firewall to F5
3.OUTBOUND: F5 to Cache servers
4.Inbound VS is configured with 2 members ( Cache 1 and Cache 2)
5.Used iRule to rewrite URL
6. Servers are on the same VLAN as the self-ip. (only one interface active for F5)
OPERATION:
1.Client initiates HTTP request with URL: www.google.com.acme.com.nz
2.URL goes to public FW IP, this get NATed then goes to the F5 box
3.With iRule, acme.com.nz gets truncated, then returns back www.google.com to the client browser.
4.This is working, and F5 rewrites it.
Queries:
What happens to the succeeding traffic upon rewrite?
Does it go direct to the pool members?
Do we need persistence on this, to make it force to go the succeeding traffic?
How can we put succeeding traffic will always go to f5 for it to be cached?
or will just be an iRule telling the traffic to go to pool members?
Sorry for the lot of queries.
I tried it on my browser. It seems like after the first hit, user gets the rewritten URL, then goes back to the normal traffic, bypassing F5.
thanks!
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