It turns out that IE can't correctly access Office documents from a secure
site!  This problem does not exist in Firefox, Opera, or Safari.  The work
around is that the cache must be enabled for that request.  Adding set cache
control("Cache-Control: max-age=120, must-revalidate") just before the set
content type("application/vnd.ms-excel") fixed the problem.  The following
Microsoft knowledgebase article  documents the problem and the solution.

http://support.microsoft.com/kb/316431

 
Thanks,
Mike

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Michael Bond
> Sent: Wednesday, September 16, 2009 9:43 AM
> To: [email protected]
> Subject: Re: [Active4d-dev] HTTPS in HTTP out
> 
> 2009/9/16 Mike Vogt <[email protected]>
> 
> > Hi all,
> > This might not be an Active4D question, but I'll ask 
> anyway.  I have a 
> > fuseaction that set content type("application/vnd.ms-excel") that 
> > worked great, asking the browser user if they wanted to 
> open in excel, etc.
> > However, last night, we mad the entire site secure, so all urls are 
> > forced to https if they are http, using Apache rewrite in 
> from of 4D 
> > Server (we've always used Apache rewrite, just not for 
> https).  Now, 
> > all the excel links give an error saying 'Could not open 
> 'https://www.willsub.com/index...
> > My question is, is there a response header or other info I 
> can set so 
> > that the response is set back to http from https?  Is there 
> any other 
> > way to look at this problem?
> >
> > TIA,
> > Sincerely,
> > Mike Vogt
> > Willsub Technical Support
> >
> > I'll be honest I don't really understand the problem but if 
> you need a
> secure request to be "transformed" under a certain rule set 
> to a standard non-secure then you could simply use a Redirect 
> from within Apache or Active4D to the non-secure pages with 
> the original request parameters attached to the Redirect.
> 
> Michael Bond
> 
> Michael
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to