MIME MAPS
am 15.11.2007 16:53:34 von jamie
Our site is hosted on IIS 6, by a popular web hoster. Recently I asked them
to apply MIME MAPS as follows:
cod application/vnd.rim.cod
jad text/vnd.sun.j2me.app-descriptor
They applied these maps and indeed files with a "jad" extension are now
received with the desired content type. However, files with the "cod"
extension are arriving as "image/cis-cod". This seems to be the IIS default.
For some reason the map applied for our site is not overriding the default
IIS setting.
Ideas anyone?
Thanks,
Jamie
Re: MIME MAPS
am 16.11.2007 15:02:59 von David Wang
On Nov 15, 7:53 am, "Jamie" wrote:
> Our site is hosted on IIS 6, by a popular web hoster. Recently I asked them
> to apply MIME MAPS as follows:
>
> cod application/vnd.rim.cod
>
> jad text/vnd.sun.j2me.app-descriptor
>
> They applied these maps and indeed files with a "jad" extension are now
> received with the desired content type. However, files with the "cod"
> extension are arriving as "image/cis-cod". This seems to be the IIS default.
> For some reason the map applied for our site is not overriding the default
> IIS setting.
>
> Ideas anyone?
>
> Thanks,
>
> Jamie
Depending on where the MIME Map is added, you may need to restart IIS
for it to take effect.
Per-site settings take effect immediately.
I am not able to reproduce what you claim. I just went and changed the
MIME Type of my site for .cod and it immediately took effect on the
next request.
You should query your hoster on where they applied the MIME Type
because it may not be where you need.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang