在IIS加对SL的支持 How do I add a new file extension / MIME type?
来源:互联网 发布:淘宝指数官网查寻 编辑:程序博客网 时间:2024/05/21 19:39
The following article explains how to create a MIME type for a new file extension. This will allow different file extensions to work in a web browser.
To add a new MIME type, please follow these steps:
- Log into your server through Terminal Services or Remote Desktop Connection.
- Click Start, select Programs, and then click Administrative Tools.
- For IIS 5.0 click Internet Services Manager.
- For IIS 6.0 click Internet Information Services.
- In the left column you will see the Server Name.
- In IIS 5.0, expand the Server Name to find the domain name.
- In IIS 6.0, expand the Server Name and then Web Sites to find the domain name.
- Right-click on the domain name and select Properties.
- On the HTTP Headers tab click MIME Types.
- Click New.
- Enter the appropriate information:
- Extension - the file type extension.
- MIME type - the type of file this extension refers to (view a list of common MIME types).
- Click Ok.
You may need to restart the IIS service for the MIME type to begin working.
To restart the IIS service, please follow these steps:
- Click Start, select Run, type command to open a command prompt.
- Type iisreset and press Enter. This will stop the IIS service and then restart it.
- 在IIS加对SL的支持 How do I add a new file extension / MIME type?
- How do I add a component
- How do I create a MEX file
- How do I rename a data file
- How do I rename a data file
- How do I add a ProgressBar to a .NET StatusBar
- How do I select a random line from a file?
- How do I deploy a Flask application in IIS?
- How do i declare a 2d array using new?
- How Do I Replace A System File? Try .KDFILES
- How do I create a log file of my installation?
- How do I add new state and change the workflow of Purchase Order?
- How do I add a tool tip to a span element?
- linux文件系统类型How do I identify my file system type?
- Get the Mime Type from a File
- Get the Mime Type from a File
- How do I add a directory to my include path (@INC) at runtime?
- How do I add placeholder text from the model into a MVC view?
- 内核(2.6.14) + 根文件系统 + Qt4 移植 for S3C2410
- 地震的伤亡人员还在增加,心里极度的低落
- 在asp.net1.1中执行应用程序
- 可以随时牵手,但不要随便分手!
- 地震捐款的银行帐户
- 在IIS加对SL的支持 How do I add a new file extension / MIME type?
- 开发人员眼中的LINQ
- [JavaScript] Javascript 读取 XML String 或 XML File
- 高级PL/SQL的使用;
- asp.net/C#连接sql server,oracle.access,my sql数据库
- Solaris10_sparc_Oracle10g的安装步骤
- 天佑我华夏
- 常用正则式
- 源码