Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Mime Types in IIS 7

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Windows 2003 Server Web Edition  
Author Message
Alexey Smirnov

External


Since: Apr 24, 2007
Posts: 6



(Msg. 1) Posted: Tue Apr 24, 2007 12:13 am
Post subject: Mime Types in IIS 7
Archived from groups: microsoft>public>inetserver>iis (more info?)

Each web site has a list of MIME types inherited from the server's
master properties.

Once the MIME type is removed from the site, for example

..jpg
image/jpeg
***Inherited***

it cannot be added back as an "inherited", only as a "local"

Is there any way to make it inherited again?

 >> Stay informed about: Mime Types in IIS 7 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Wed Apr 25, 2007 12:56 am
Post subject: Re: Mime Types in IIS 7 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can do this by editing the metabase directly, and removing the local
entry at that node. It will then inherit entries from the parent node. If
you use Metabase Explorer (part of the IIS 6 Resource Kit Tools you can
download from MS) you can see this via a GUI tool.

Cheers
Ken


--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken

"Alexey Smirnov" <alexey.smirnov.DeleteThis@gmail.com> wrote in message
news:1177398836.890054.303510@s33g2000prh.googlegroups.com...
> Each web site has a list of MIME types inherited from the server's
> master properties.
>
> Once the MIME type is removed from the site, for example
>
> .jpg
> image/jpeg
> ***Inherited***
>
> it cannot be added back as an "inherited", only as a "local"
>
> Is there any way to make it inherited again?
>

 >> Stay informed about: Mime Types in IIS 7 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 362



(Msg. 3) Posted: Wed Apr 25, 2007 4:27 pm
Post subject: Re: Mime Types in IIS 7 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hand-edit the web.config file to manually remove the <remove>/<add> of
the affected MIME Type to reinherit.

Basically, once you remove an item from a collection at a child level
using <remove>, when you re-add the item, you have a choice of either:
1. Re-inherit -- remove the <remove> element at the child level
2. Add local -- re-add using <add> after <remove> at the child level

It will take a UI dialog at every MIME Type insertion to distinguish
between 1 and 2, both of which are valid choices.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Apr 24, 12:13 am, Alexey Smirnov <alexey.smir....TakeThisOut@gmail.com> wrote:
> Each web site has a list of MIME types inherited from the server's
> master properties.
>
> Once the MIME type is removed from the site, for example
>
> .jpg
> image/jpeg
> ***Inherited***
>
> it cannot be added back as an "inherited", only as a "local"
>
> Is there any way to make it inherited again?
 >> Stay informed about: Mime Types in IIS 7 
Back to top
Login to vote
Alexey Smirnov

External


Since: Apr 24, 2007
Posts: 6



(Msg. 4) Posted: Thu May 03, 2007 2:25 am
Post subject: Re: Mime Types in IIS 7 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Apr 26, 1:27 am, David Wang <w3.4... RemoveThis @gmail.com> wrote:
> Hand-edit the web.config file to manually remove the <remove>/<add> of
> the affected MIME Type to reinherit.
>
> Basically, once you remove an item from a collection at a child level
> using <remove>, when you re-add the item, you have a choice of either:
> 1. Re-inherit -- remove the <remove> element at the child level
> 2. Add local -- re-add using <add> after <remove> at the child level
>
> It will take a UI dialog at every MIME Type insertion to distinguish
> between 1 and 2, both of which are valid choices.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //
>
> On Apr 24, 12:13 am, Alexey Smirnov <alexey.smir... RemoveThis @gmail.com> wrote:
>
>
>
> > Each web site has a list of MIME types inherited from the server's
> > master properties.
>
> > Once the MIME type is removed from the site, for example
>
> > .jpg
> > image/jpeg
> > ***Inherited***
>
> > it cannot be added back as an "inherited", only as a "local"
>
> > Is there any way to make it inherited again?- Hide quoted text -
>
> - Show quoted text -

Thank you both!
 >> Stay informed about: Mime Types in IIS 7 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]