Forum Discussion
Mohammed_Moin_2
Nimbostratus
Sep 19, 2018Irule to redirect all traffic to specific uri
Hi everyone, I need your urgent assistance in preparing an irule. I would like to redirect all application traffic to specific uri.
Thanks to all.
Kevin_Stewart
Employee
Sep 19, 2018It can't be anything, because "/services/int/portal.svc" falls within that scope. So maybe something like this?
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] ne "/services/int/portal.svc" } {
HTTP::redirect "/services/int/portal.svc"
}
}
But then this assumes that "/services/int/portal.svc" is the only accessible URI path.
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