Forum Discussion
Puneet_73909
Nimbostratus
Mar 03, 2010HTTP Redirect
Hi,
I need help in rediret url.
Whenever user types is http://domain.com/xyz or any uri it should redirect it with 301 redirect.
I have done with HTTP::res...
Puneet_73909
Nimbostratus
Mar 03, 2010Thanks!!!
You mean to say when nothing is matching it will go to "default" and there I will add given below statement.
HTTP::respond 301 Location "http://[HTTP::host][HTTP::uri]"
What this iRules says that whenever user types in /doc it will go to concern defined iRule and when it will site.xml it will go to new pool. But when nothing matches it will go to default and redirect the path (HOST+URI) as 301 redirect..
Correct me If I am wrong.
Thanks,
Puneet Khanna
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
