Forum Discussion
Lloyd_Kim_55160
Nimbostratus
Dec 06, 2005IRULE HTTP FORWARD HELP
I was hoping someone could help me with an irule.
Situation:
We are trying to move over a client to another F5 and while the DNS replication takes place we would like to have a rule that forwards our client URL to the new IP address.
For example, when a client goes to support.test.com, I would like an irule that if any matches that url it will be redirected to the virtual on our new F5.
Is this possible?
- You could do a HTTP::redirect to the other virtual. The only downside is that you will either need to have a unique domain name for the new virtual or redirect the client to the IP address (which will show up in their browser.
when HTTP_REQUEST { HTTP::redirect "http://other.domain.com[HTTP::uri]" - or - HTTP::redirect "http://1.2.3.4[HTTP::uri]" }
- Lloyd_Kim_55160
Nimbostratus
Thanks Joe, - Colin_Walker_12Historic F5 AccountThe way around it would be to do a rewrite in the host information both incoming and outgoing, rather than a redirect.
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