Forum Discussion
nacejj_65488
Nimbostratus
Oct 19, 2011Header Rewrite & Port Translation Issues (Oracle App Servers)
I am currently load balancing a 10.2.1 LTM to two legacy Oracle applications (Tru64 Alpha Server) The applications need to be accessed on port 8895. Everything in my config is on the same subnet besi...
Michael_Yates
Nimbostratus
Nov 01, 2011Hi nacejj,
Here is a simple example of value retrieval from a Data Group if it helps. I used "class match" instead of "findclass".
Data Group:
class redirect_datagroup {
{
"/bar" { "http://www.msn.com" }
"/foo" { "http://www.google.com" }
"/foobar" { "http://www.yahoo.com" }
}
}
iRule:
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] contains redirect_datagroup] } {
HTTP::redirect [class match -value [HTTP::uri] equals redirect_datagroup]
}
}
Hope this helps.
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