Solved

how to display text files that do not have extensions

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
app pool not starting Exchange 2010 12 40
Data at the root level is invalid. Line 1, position 1 8 115
Lync Mobile not working 11 89
URL Redirect using IIS v8 4 20
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

18 Experts available now in Live!

Get 1:1 Help Now