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?
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:
Note: you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect.
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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.