Forum Discussion
El_Jefe
Jul 31, 2011Nimbostratus
Need ideas for a "garbage collector" iRule
Hello,
I have been working with the F5 for a bit, and have written some simple iRules. However, I am getting a little stuck on this one. We are running an Oracle 11G Fusion Middleware app fo...
The_Bhattman
Aug 01, 2011Nimbostratus
hi El_Jefe,
You can also use the switch command
when HTTP_REQUEST {
if { [HTTP::host] eq "host.department.university.edu" } {
set URI "/Application/faces/oracle/webcenter/portalapp/pages/login.jspx"
switch -glob [string tolower [HTTP::uri] {
"/" -
"/application" { HTTP::redirect "https://[HTTP::host]/$uri" }
default { HTTP::redirect "https://[HTTP::host]/$uri }
}
}
}
I hope this helps
Bhattman
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