Forum Discussion
khoutman_235081
Nov 23, 2015Nimbostratus
Re-direct irule but keep URL
Hello i'm trying to setup an irule to re-direct based on URI while keeping the original URL in the user's browser. Example- user goes to https://abc.com and clicks on a link that takes him to https:...
Brad_Parker
Cirrus
This should do what you want.
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/xyz" }{
HTTP::respond 301 noserver Location "https://def.com[HTTP::uri]"
}
}
Brad_Parker
Nov 25, 2015Cirrus
This will require an HTTP profile. And if the vip is HTTPS, that means you will also require a client SSL profile.
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