RE: Caching of static content

2010-08-04 Thread john.ranaudo
Uh..thanks..it was not a good day when I asked this question. My apologies :) -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, August 04, 2010 10:03 AM To: Tomcat Users List Subject: Re: Caching of static content -BEGIN PGP SIGNED ME

Caching of static content

2010-08-02 Thread john.ranaudo
Can someone point me to the documentation on how to handle caching of static content? Images and static HTML documents are all being returned without cach-control response headers but I am unsure how to set these values. Thus the files are being retrieved each and every time. Also, how to hand

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
So I thought my solution was not good until I read you were getting the https requests on port 8443 but ssl terminated. Our configuration terminates ssl at the load balancer but forwards to port 80! Which is why I couldn't get the normal options working for me. John-Paul Ranaudo Software A

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
Michael, Had the exact problem last week. Servlet spec changed to say engine must return absolute paths. Since requests come in on port 80 or http the redirect will use http scheme. My quick fix was to change Tomcat source code to allow relative redirects. Thus the browser handles building th

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
In hindsight, let me post the details anyway. Tomcat 6.0.26 using JVM 1.6_20 on Windows. I am trying to map http://localhost/NASApp/DealSearch/RequestServlet to http://localhost/DealsWeb/RequestServlet < ROOT Web.xml >> http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
Yea sorry about that. I did get it to work just. I just created my own root web app. Not sure what the issue with ROOT was. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, July 26, 2010 10:38 AM To: Tomcat Users List Subject: RE: URLRewrite

URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
I have configured the URLRewrite filter for the default web application "ROOT". I just placed the jar in the WEB-INF\lib location and the configuration file in WEB-INF. The filter seems to load once, find my context that I would like to map to then load a second time only NOT finding the context th

RE: How to map web app with different root paths?

2010-07-21 Thread john.ranaudo
Should be posted for sure in a FAQ. Thanks all for the links. I think that should cover it. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, July 21, 2010 3:04 PM To: Tomcat Users List Subject: Re: How to map web app with different root paths? Apart from