Forum Discussion
Kyle_Hayes_5309
Nimbostratus
Apr 08, 2009RESTful services with Tomcat
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?
The browser uri 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.
Any help is appreciated. I am very new to this.
Thanks!
Kyle
- L4L7_53191
Nimbostratus
Kyle: Check out this write up by Joe on URI parsing. I think it will be useful. - Kyle_Hayes_5309
Nimbostratus
Matt, thanks for the URL, we'll check it out. We appreciate your help.
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