• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

worker.properties - need to exclude contexts

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic