Solved

how to display text files that do not have extensions

Posted on 2014-01-02
4
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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