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

2005-05-08 Thread Donny R Rota
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 tomcat-user@jakarta.apache.org
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:   x.doc
File type:Microsoft Word Document
From:yyy.ibm.com
Open   Save Cancel More Info

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

Internet Explorer cannot download .doc from y.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] 



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

2005-05-08 Thread Mark Leone
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 tomcat-user@jakarta.apache.org
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:   x.doc
File type:Microsoft Word Document
From:yyy.ibm.com
Open   Save Cancel More Info
I click Open and then the folloing file download dialog comes up:
Internet Explorer cannot download .doc from y.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]


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

2005-05-06 Thread Donny R Rota
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:   x.doc
File type:Microsoft Word Document
From:yyy.ibm.com
Open   Save Cancel More Info

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

Internet Explorer cannot download .doc from y.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] 


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

2005-05-06 Thread Tim Funk
http://issues.apache.org/bugzilla/show_bug.cgi?id=27122
-Tim
Donny R Rota wrote:
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:   x.doc
File type:Microsoft Word Document
From:yyy.ibm.com
Open   Save Cancel More Info
I click Open and then the folloing file download dialog comes up:
Internet Explorer cannot download .doc from y.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]


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

2005-05-06 Thread Larry Meadors
Hey! I had that problem too, and the fix is as sexy as any windows fix: Edit 
the registry!

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet 
Settings]
BypassSSLNoCacheCheck=dword:0001

This tells IE that it is OK to use cached data that was delivered over SSL. 

I know of no other way to set this value.

Larry


On 5/6/05, Donny R Rota [EMAIL PROTECTED] wrote:
 
 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: x.doc
 File type: Microsoft Word Document
 From: yyy.ibm.com http://yyy.ibm.com
 Open Save Cancel More Info
 
 I click Open and then the folloing file download dialog comes up:
 
 Internet Explorer cannot download .doc from 
 y.ibm.comhttp://y.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]