Forum Discussion
Puneet_73909
Nimbostratus
16 years agoHTTP 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...
lmwf1_55268
Nimbostratus
16 years agoPuneet,
Aaron is correct, but i just want to add.
HTTP::redirect sends the response to the client immediately. Therefore, you cannot specify this command multiple times in an iRule. This command uses a 302 response code.
The "default" section in "switch" is similar to the last "else" in "if elseif else" condition.
If nothing else is match above then it will go to this section.
Hope it helps!
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