Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes worker.properties  - need to exclude contexts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "worker.properties  - need to exclude contexts" Watch "worker.properties  - need to exclude contexts" New topic
Author

worker.properties - need to exclude contexts

Terry Jeske
Greenhorn

Joined: Apr 06, 2004
Posts: 17
We have CMS system with tomcat/iis on the front-end. The CMS allows for customers to have their own vanity url. A couple sample urls (there will be thousands of them) look like this:
http://www.acumenassociates.com/internet
http://www.interknack.com/hosting/-1999999987.htm
These urls do not map to files, rather, they are interpreted by our servlets which serves up the page from cache or from the database.
We have the coyote redirector working with IIS, but since we do not know what the context will be, we have to use a wild card and pass through all requests. What we would like to do is *exclude* resource urls (i.e. urls for images, scripts or supporting html files) so they can be served by IIS.
Example:
http://www.acumenassociates.com/scripts/objects.js
http://www.someothercompany.com/images/logo.gif
http://www.interknack.com/html/colorpicker.html
We cannot seem to find a way to exclude a directory. Does anyone have any ideas?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: worker.properties - need to exclude contexts
 
Similar Threads
JSP and deployment
Problem in window resizing on Loading
Deployment issue
Search Engine for a website
IPlanet 6.0SP1 with Apache 1.3.29 WebConnector Issue