Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

worker.properties - need to exclude contexts

 
Terry Jeske
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic