Forum Discussion
Gregt_33960
Nimbostratus
Mar 20, 2008URI Filtering
Hello,
I am new to the group and at the request of and F5 engineer I am posting in hopes of desperate assistance. I have HA pair of Big IP LTMs with a pool of web servers behind them that support multiple Websphere application Environments. Each WAS instance has a unique port.. for example Test runs on port 80 and training runs on 8080 and sand box on 9080. I am trying to use URI filtering, via an IRule to have the F5 parse the request and send the HTTP GET to the proper pool. That part works fine. The issue is that on my WAS servers I do not have servlets called "test, train, sandbox" so when the F5 send the HTTP GET /sandbox to my WAS I get error 404.
I have been told there is way to code an IRule that will be able to support what I am trying to do. Below is a logic snippet of what I am attempting.
The logic behind the iRule should be something like:
when HTTP_REQUEST {
if URI == /sandbox
select pool_sandbox
URI == URI without /sandbox (ie, http://host.com/sandbox/index.jsp should look like http://host.com/index.jsp)
elseif URI == /somethingelse
etc..
Any assitance or insight would be greatly appreciated.
regards
Greg
- The_Bhattman
Nimbostratus
Have you tried looking at the following documentation - Nicolas_Menant
Employee
Hi,
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