Forum Discussion
MOHIT_125417
Altostratus
Mar 28, 2015Help on iRules
Hi Team,
I got a request to redirect one of my Website www.foods.com to www.drinks.com. In addition this when the website www.foods.com redirects to www.drinks.com user will get a message "You w...
giltjr
Nimbostratus
Mar 28, 2015Somebody needs to write the web page to display the message and do the redirect. You can display the page they write by doing:
set RedirectPage01 "html code goes here"
if { ([string tolower [HTTP::host]] equals "www.foods.com") and ([HTTP::uri] equals "/")} {
HTTP::respond 200 content $RedirectPage01 ; return
}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