As posted by Tim Funk in reply to your original message, the details regarding this problem are found here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=27122

Note that it is a problem with IE only, wherein IE can't handle no-cache cache directives, and Tomcat only sets these headers when serving content from a protected context. Also, if you're using other than form authentication, you need to substitute the class name for your authenticator in the <valve> configuration described below.

Donny R Rota wrote:

I found the solution! Posting here to save other people the problems I had in finding this:

Put this in your server.xml (or conf/Catatlina/localhost/*.xml) file:

  <Valve className="org.apache.catalina.authenticator.FormAuthenticator"
         disableProxyCaching="false" />

------------------------------------------------------------------
Don Rota, CTG Operations
Rational Software, IBM Software Group
20 Maguire Road, Lexington, MA 02421-3104 Tel: 781 676 2655, Fax: 781 676 7645 [EMAIL PROTECTED]




Donny R Rota/Lexington/[EMAIL PROTECTED] 05/06/2005 03:13 PM
Please respond to
"Tomcat Users List"



To "Tomcat Users List" <[email protected]> cc

Subject
Cannot download files with IE through tomcat.  SSL with no-cache problems?






On Apache Tomcat/5.0.28, I've got SLL installed, and whenever I try to download a doc file I get:


Some files can harm your computer.  If the file information below
looks suspicious, or you do not fully trust the source, do not open or
save this file
File name:   xxxxx.doc
File type:    Microsoft Word Document
From:        yyyyyyy.ibm.com
Open   Save Cancel More Info

I click Open and then the folloing file download dialog comes up:

Internet Explorer cannot download xxxx.doc from yyyyy.ibm.com
Internet Explorer was not able to open this Internet Site. The requested site is either unavailable or cannot be
found. Please try again later.
OK


Downloading works fine in FireFox.
Downloading works fine if I turn off SSL.
We have an apache server (full httpd server) inhouse where this type of SSL download works fine too.


Is there a SSL no-cache setting I have to put in server.xml or something?

Thanks

...Don...
------------------------------------------------------------------
Don Rota, CTG Operations
Rational Software, IBM Software Group
20 Maguire Road, Lexington, MA 02421-3104 Tel: 781 676 2655, Fax: 781 676 7645 [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to