Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Errors when accessing PowerPoint and word files, IE but not FireFox

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


trice at cisco

May 8, 2008, 1:40 PM

Post #1 of 2 (82 views)
Permalink
Errors when accessing PowerPoint and word files, IE but not FireFox

When accessing Microsoft PowerPoint or word files on my webserver, I'm
seeing errors accessing the file via IE (version 6 and 7) but problems
when using FireFox. The odd thing is that the problem only occurs when
specifying the full path to the URL. When clicking on the filename from
the DirectoryIndex, it launches just fine.

The error that IE gives is:

--start of Internet Explorer error dialog-->
Internet Explorer cannot download ...<filename goes here>.ppt from
<hostname>.

Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
again.
--end of Internet Explorer error dialog-->

The headers sent by the server (Apache 1.3.26) are identical whether
using IE or FireFox. I assumed it was IE being picky about the MIME
type and tried reconfiguring the server to send
application/ms-PowerPoint, application/PowerPoint,
application/ms-PowerPoint, and application/vnd.ms-powerpoint all of
which work fine with FireFox but all bomb on IE.

IE seems to know what the file is because it first prompts for a
password (as expected),


Any ideas?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


trice at cisco

May 13, 2008, 6:55 AM

Post #2 of 2 (53 views)
Permalink
RE: Errors when accessing PowerPoint and word files, IE but not FireFox [In reply to]

Bad form to answer my own question, but for the sake of the archive,
here goes...

Apparently IE doesn't like "no-cache" in a cache-control header.
Changing that to max-age=0 solved the problem.

Bad: header Set Cache-Control: "no-cache"
Good: header Set Cache-Control: "max-age=0"

FireFox, Opera, etc all do fine with either config.

-Tony


> -----Original Message-----
> From: Tony Rice (trice)
> Sent: Thursday, May 08, 2008 4:41 PM
> To: users[at]httpd.apache.org
> Subject: [users[at]httpd] Errors when accessing PowerPoint and
> word files, IE but not FireFox
>
> When accessing Microsoft PowerPoint or word files on my
> webserver, I'm seeing errors accessing the file via IE
> (version 6 and 7) but problems when using FireFox. The odd
> thing is that the problem only occurs when specifying the
> full path to the URL. When clicking on the filename from the
> DirectoryIndex, it launches just fine.
>
> The error that IE gives is:
>
> --start of Internet Explorer error dialog--> Internet
> Explorer cannot download ...<filename goes here>.ppt from <hostname>.
>
> Internet Explorer was not able to open this Internet site.
> The requested site is either unavailable or cannot be found.
> Please try again.
> --end of Internet Explorer error dialog-->
>
> The headers sent by the server (Apache 1.3.26) are identical
> whether using IE or FireFox. I assumed it was IE being picky
> about the MIME type and tried reconfiguring the server to
> send application/ms-PowerPoint, application/PowerPoint,
> application/ms-PowerPoint, and application/vnd.ms-powerpoint
> all of which work fine with FireFox but all bomb on IE.
>
> IE seems to know what the file is because it first prompts
> for a password (as expected),
>
>
> Any ideas?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.