views:

698

answers:

3

I have files with extensions like ".dae" , ".gtc" , etc. When I try to hit these files over http, the server returns a 404, but they are in the directories. However I can serve readily known file extensions; if i just rename them to say, xml, they are accessible.

Any suggestions for what the problem may be?

+1  A: 

You need to define additional MIME types on IIS 6 for the extensions that you mentioned.

Here is the MS article on how to add additional MIME types to IIS6:

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

Frank Liao
+3  A: 

If you request a file with an extension that is not a defined MIME type on your IIS 6.0 Web server, you receive a "HTTP Error 404 - File or directory not found" error message.

To define a MIME type for a specific extension (.dae in your case), follow these steps:

  • Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties.
  • Click MIME Types.
  • Click New.
  • In the Extension box, type the file name extension that you want (in your case .dae).
  • In the MIME Type box, type application/octet-stream.
  • Apply the new settings.

Note: you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect.

splattne
A: 

Hello,

The instructions above, given by "splattne" has what you are looking for as far as steps to set that up.

In case you need, I wanted to include to you this chart that shows common MIME types and their corresponding file extensions.

http://www.webmaster-toolkit.com/mime-types.shtml


Michael Kennedy

Support Engineer

[email protected]

http://www.HostMySite.com?utm_source=bb