• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

how to display text files that do not have extensions

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
gopher_49
Asked:
gopher_49
  • 2
1 Solution
 
Ivo StoykovCommented:
Hi

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

HTH

Ivo Stoykov
0
 
SurranoSystem EngineerCommented:
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
 
gopher_49Author Commented:
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
 
gopher_49Author Commented:
This worked!  I put in "." at the extension and set the MIME to "text/plain"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now