From apwww@hyperreal.org Wed Sep 24 14:29:26 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id OAA28663; Wed, 24 Sep 1997 14:29:26 -0700 (PDT) Message-Id: <199709242129.OAA28663@hyperreal.org> Date: Wed, 24 Sep 1997 14:29:26 -0700 (PDT) From: Bob Cronin Reply-To: bcronin@parker.com To: apbugs@hyperreal.org Subject: PR 196: mime type for .xls does not come across correctly, all other no problem. X-Send-Pr-Version: 3.2 >Number: 1164 >Category: mod_mime >Synopsis: PR 196: mime type for .xls does not come across correctly, all other no problem. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Sep 24 14:30:01 1997 >Originator: bcronin@parker.com >Organization: >Release: 1.2.0 >Environment: AIX 4.1.4 running on a J40. Accessing from both MSWin95 and NT 3.51. Same error. >Description: All attempts to load and excel spreadsheet in Microsoft IE 3.02 or Netscape (latest released) cause errors on the browsers (only type .xls) Ref: PR 196. If the file is ftp'd from AIX to a PC and then access from the browser it works fine. >How-To-Repeat: I can provide an xls file to any email address and you can try it out. >Fix: I've tried various mime type variations without any success >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Wed Sep 24 16:36:28 PDT 1997 State-Changed-Why: You really need to be more specific than "cause errors". What sort of error? Exactly what happens when you try to download it? What do you think should happen? Please provide a sample URL if possible so we can see what content-type is being sent. From: Marc Slemko To: Apache bugs database Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Date: Thu, 25 Sep 1997 08:18:26 -0600 (MDT) ---------- Forwarded message ---------- Date: Thu, 25 Sep 1997 09:55:23 -0400 From: bcronin@parker.com To: marc@hyperreal.org Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. Hey Marc, thanks for the swift reply. Let me attempt to better define the problem. Microsoft Excel spreadsheets have the .xls extension. When attempting to view from MS IE or Netscape the file mime type is received from apache as text/plain. When loaded from a file it is received as mime type: application/x-msexcel. I have attached 3 bitmap files to further clarify what's happening. Please feel free to call me at 216-896-2826 if you wish. Again thanks for your help, we love the apache browser. From: Marc Slemko To: bcronin@parker.com Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Date: Sat, 27 Sep 1997 13:32:41 -0600 (MDT) On Thu, 25 Sep 1997, Marc Slemko wrote: > > ---------- Forwarded message ---------- > Date: Thu, 25 Sep 1997 09:55:23 -0400 > From: bcronin@parker.com > To: marc@hyperreal.org > Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. > > > Hey Marc, thanks for the swift reply. Let me attempt to better define the > problem. Microsoft Excel spreadsheets have the .xls extension. When > attempting to view from MS IE or Netscape the file mime type is received > from apache as text/plain. When loaded from a file it is received as mime > type: application/x-msexcel. I have attached 3 bitmap files to further > clarify what's happening. Please feel free to call me at 216-896-2826 if > you wish. Again thanks for your help, we love the apache browser. What I really need is an example URL for a xls file on your server. What do you have in your mime.types file for xls? Have you restarted your server after adding it. From: Marc Slemko To: bcronin@parker.com Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Date: Sun, 28 Sep 1997 11:47:37 -0600 (MDT) On Sun, 28 Sep 1997 bcronin@parker.com wrote: > > Thanks again for getting back to me. > What you really need is an example URL for a xls file on your server. > Does that mean I would need to give you access to the company intranet > because the URL is my host machine located within our firewall? We could > arrange for some form of access if required. What is an example URL. > > What do you have in your mime.types file for xls? Have you restarted your > server after adding it. > > The Mime type is application/vnd.ms-excel in the browsers I run off the PC. > Is there a mime type setting required in the appache setup files or on the > Unix machine itself? I had assumed that based on your original message you had already tried adding it to the mime types file. On the server you need to either edit your mime.types file to have some mime type for xls files or use something like "AddType application/x-ms-excel .xls" to your config files and restart the server. From: Marc Slemko To: Apache bugs database Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Date: Mon, 29 Sep 1997 10:01:49 -0600 (MDT) ---------- Forwarded message ---------- Date: Mon, 29 Sep 1997 11:22:54 -0400 From: bcronin@parker.com To: marcs@znep.com Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Hey again, I have incorporated: application/x-msexcel xls into the "mime.types" file on the server...... No Good Next I added AddType application/x-msexcel xls into the "srm.conf" on the server. I stopped and restarted the httpd daemons. No luck. I also tried AddType application/x-ms-excel .xls No Good Is there any means of tracing what's going on? State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Mon Sep 29 09:31:02 PDT 1997 State-Changed-Why: User was changing wrong mime.types file. From: Marc Slemko To: Apache bugs database Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Date: Mon, 29 Sep 1997 10:33:01 -0600 (MDT) ---------- Forwarded message ---------- Date: Mon, 29 Sep 1997 11:59:33 -0400 From: bcronin@parker.com To: marcs@znep.com Subject: Re: mod_mime/1164: PR 196: mime type for .xls does not come across correctly, all other no problem. (fwd) Fixed!!!!!!!!!! I was pointing to the wrong mime.types file!!!! Sorry,, thanks for your patience! Thanks for your help. >Unformatted: >Last-Modified: Mon Sep 29 09:31:03 PDT 1997