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...
StephanManthey
Nacreous
Mar 28, 2015Hi MOHIT,
here is a solution to inform the client before forcing the browser to open the new page: Redirect a VS via irule Just replace the IP addresses in the example by the new name, i.e.:when HTTP_REQUEST {
set page "
The site has been retired.
After 5 seconds, you will automatically be redirected to our new page at "
HTTP::respond 200 content "${page}" Content-Type "text/html"
}
Thanks, Stephan
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