Forum Discussion
bvinson_12764
Nimbostratus
Nov 02, 2009Domain Redirect
Hello,
Pretty new to Irules,
How do I,,,
I have a new domain and a old domain that point to the same Web services.
lets call them new.com an...
The_Bhattman
Nimbostratus
Nov 02, 2009Here is a simple redirection of a domain name
when HTTP_REQUEST {
if {[HTTP::host] eq "web.old.com" } {
HTTP::redirect "http://web.new.com/[HTTP::uri]/"
}
}
I hope this helps
CB
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