
October 31st, 2004, 01:49 PM
|
|
Contributing User
|
|
Join Date: Oct 2003
Posts: 42
Time spent in forums: 11 m 9 sec
Reputation Power: 5
|
|
Mime type & Char set in IIS5/IIS6
--------------------------------------------------------------------------------
Hi All,
I need to specify a character set for .apml(custom file type which I want to use) files on iis 5/ iis 6. I tried adding a MIME type ".apml" with content-type=text/xxx.apml;charset=utf-8 but it doesn't seem to work.
It causes a 405 "Method not allowed" error, as if it does not recognize that a browser accepting "text/xxx.apml".
Is there any other way to specify charset in iis?
This works perfectly on Apache webserver by adding the following lines
AddType text/xxx.apml .apml
AddCharset UTF-8 .apml
Any help with this is greatly appreciated.
- Sumana Annam
|