I'm trying to come up with a rule on our F5 to direct traffic to our Tomcat server appropriately. We are deploying separate WAR files for each RESTful service. So, we would like to have the following URIs as an example:
/services/quiz/01234/ /services/user/54321/
Where 'quiz' and 'user' are quiz.war and user.war respectively. We want to direct the traffic at the F5 level for /services/ to be the root and the rest of the URI to be directed to the Tomcat server.
How do we accomplish this?
Edit
The browser url for a resource would look like http://www.domain.com/services/quiz/01234/
I want BIG-IP to send the request to tomcat as http://tomcatserver:8080/quiz/01234/
so basically remove /services and append everything after it to the tomcat domain. I would think this would be an easy regex, right?