Forum Discussion
Dharmendra_2243
Nimbostratus
Nov 09, 2010redirection but url not change on browser
Forward all http requests for http://test.abc.com/try to http://pass.xyz.com The idea here is to maintain the URL as http://test.abc.com/try on the user’s browser while the content/site served up is f...
hoolio
Cirrostratus
Nov 10, 2010Hi Chris,
You can use the node command to dynamically set the destination IP and port for load balancing to whatever IP you resolve the hostname to. You could update the concept from this Codeshare example to do this:
http://devcentral.f5.com/wiki/default.aspx/iRules/DestinationSnatUsingDNS.html
I like the idea of using a time based solution instead of connection counts:
http://devcentral.f5.com/wiki/default.aspx/iRules/LogEveryXSeconds.html
And you'd want to use RESOLV::lookup instead of NAME::lookup for 10.1+.
If I get some time I can try to put an example together. Else, if you want to give it a shot, it would be useful.
Aaron
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