I am really starting to hate IE.
 
First my site.
 
Running apache 2.0.49. mod_ssl to  mod_jk to TC 5.0.19.
Apache is doing all of my PKI work, passes the cert to TC which handles user
auth.
My site has a lot of PDF documents.  Some are downloaded via a servlet. 
 
The problem:
 It all worked great for quite some time, then suddenly nobody using IE can
get the docs via the servlet (assume the directory broke the same time).
Had to tell IE to use cache as it does not want to cache anything from an
SSL site.  (It seems that IE downloads the file first then asks if you want
to open it or save it, then tries to get it again but wont because of SSL)
    response.setHeader("Pragma", "cache");
    response.setHeader("Cache-Control", "cache");
 
Got that part to work.  Now it seems that IE can not get a pdf or doc file
from straight directory browsing.
IE gives the error "not able to open this Internet site, blah blah blah
Please try again later"  This is the same error I got from my servlet.
 
Of course Mozilla does not have a problem at all.
 
The Question:
With out writing a servlet to return all of the files that are currently
retrieved by direct url is there a way for tomcat to tell IE to use the one
in cache, similar to the setHeaders above?

Reply via email to