Forum Discussion
JonasD_46068
Nimbostratus
Mar 15, 2007REDIRECTION ISSUE
I got the following iRule from someone in this forum:
when HTTP_REQUEST {
set userhost [HTTP::host]
if { $userhost == "testdomain.org"} {
set userhost "www.[HTTP::host]"
...
Parveez_70209
Nimbostratus
Aug 14, 2014Hi Team,
The below Irule is working good, sorry for the confusion:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/broutlet" } { HTTP::redirect "http://olet.domain.com/broutlet/br/pt/" } }
But this is giving 302 redirection, it should give 301 redirection, how my Irule will look like.
Thanks and Regards Parveez
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
