Forum Discussion
cylinh_171509
Altocumulus
May 04, 2015Please help with iRule.
i want to redirect
http://abc.mydomain.com to http://abc.mydomain.com/123/login
May 05, 2015
Here you go:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri == "/" } {
Replace 301 with 302 for a temporary redirect
[HTTP::respond 301 Location "http://abc.mydomain.com/123/login"]
}
}
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