Forum Discussion
autogun_200714
Nimbostratus
May 05, 2015iRule Redirect URL and change client address
Hi,
Im trying to implement an iRule on our corporate BigIP so when the requested URI for domain mydomain.com is /abc - for example http://mydomain.com/abc,
I'd like to redirect and rewrite user'...
Stefan_Klotz
Cumulonimbus
May 05, 2015Do you mean something like this?
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/abc" } {
HTTP::respond 301 Location "http://[HTTP::host]/xyz/hi"
}
}
Ciao Stefan 🙂
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