Solved

how to display text files that do not have extensions

Posted on 2014-01-02
4
230 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now