Solved

how to display text files that do not have extensions

Posted on 2014-01-02
4
235 Views
Last Modified: 2014-01-03
How do I allow IIS 7.0 to display text files that do not have extensions?  I went to the website and went to MIME feature.  I added ".*" and MIME type "application/octect-stream".  Still no luck.  Any ideas?
0
Comment
Question by:gopher_49
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 500 total points
ID: 39753200
Hi

Use "." (a dot) as extension and create a MIME mapping.

HTH

Ivo Stoykov
0
 
LVL 8

Expert Comment

by:Surrano
ID: 39753398
If I understand you correctly you need your web client (browser) to display files without extension as served by the web server (IIS). I don't think it'd depend on any server-side settings, but if you set it to "application/octet-stream" (check spelling) I don't think it'd do any good. How about using "text/plain" instead?
0
 

Author Comment

by:gopher_49
ID: 39754017
I tried text/plain and application/octet-stream.  Neither work.. It's a text file for if I put a .txt on the end of it the browser will display it.. But..  The app that uploads these files leaves the extension off.. I'll try ivostoykov's post above.. brb
0
 

Author Closing Comment

by:gopher_49
ID: 39754026
This worked!  I put in "." at the extension and set the MIME to "text/plain"
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question