Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I wanted to change the MIME type of my website. Unfortunately, I could not find the MIME type in my IIS manager. Could you please help me out. The version of my IIS is 6.1 Regards,

share|improve this question

migrated from stackoverflow.com Nov 11 '10 at 9:54

This question came from our site for professional and enthusiast programmers.

    
which version of IIS are you using? –  Mazhar Karimi Nov 10 '10 at 21:34
    
my version is 6.1 –  user59888 Nov 10 '10 at 21:35
    
Do you mean the mime type of the file you are returning? What kind of file are you trying to return and what is the programming language you are using? (C#, PHP, etc). E.g. if this was an asp.net page, you'd set the mime-type header at point of download of an unusual file type, e.g. Excel. Ordinary file types (html, plain text, images) usually just work out of the box. –  MatthewMartin Nov 10 '10 at 21:54
    
No, I'm talking about the( MIME types panel). I don't see it in my IIS manager. –  user59888 Nov 10 '10 at 21:58

2 Answers 2

Pick the website, right-click on it and choose Properties. Click the HTTP Headers tab and at the bottom of the panel is Mime Map. Click on the File Types button and use the resulting dialog to add file extensions and MIME types.

Commenter is possibly correct, and ServerFault is possibly a better place for questions like this. But we coders have to worry about this kind of thing often enough, so I don't think it's too far off-topic.

share|improve this answer

As I understand it you are trying to configure additional MIME types to your sites;

This article should help point in the right direction. http://technet.microsoft.com/en-us/library/cc786786(WS.10).aspx

In addition, configuring open IIS manager, select the properties for the node, click MIME types, select new, extension .pan in the box and enter application/octet-stream in the type box.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.