Add downloadable file types in IIS6

  
                  

using MIME type


Multipurpose Internet Mail Exchange (MIME) types of documents illustrate how the Web browser or mail application process received from the server. For example, when a web browser requests an item on the server, it also requests the MIME type of this object. Some MIME types (such as graphics) can be displayed inside the browser. Other MIME types, such as word processing documents, need to be displayed using an external help application.

When IIS deliver mail message to a mail application or Web page delivered to the client Web browser, IIS also sends the MIME type of data transfer. If there are additional or embedded files that are passed in a specific format, IIS notifies the client application to embed or attach the MIME type of the file. The client application then knows how to process or display the data being received from IIS. File

IIS only with the extensions registered in the MIME type list to provide services, and also allows you to configure additional MIME types and change or remove MIME types.

IIS pre-configured to identify the type of MIME global default settings. All MIME types that you create in IIS recognize these MIME types. MIME types can also be defined at the site and directory level, independent of other or globally defined types. When viewing a MIME type at the site or directory level, only the types that correspond to this level are displayed, not all types that are inherited from the previous level. If the MIME type is modified at a lower level and the same MIME type is applied at the global level, the MIME type at the global level overrides the MIME type modified at the lower level.

If the client requests cited the extension of the file that extension is not defined in the MIME types, IIS returns a 404.3 error. By adding a wildcard (*) MIME type, you can also configure IIS to serve all files, ignoring file extensions.

Important You must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate permissions to perform the following steps. As a security best practice, log on to the computer with an account that is not part of the Administrators group, and then use the Run As command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\\system32\\inetsrv\\iis.msc".
add a global MIME type


In IIS Manager, expand the local computer, right-click the MIME type you want to add a computer, click "Properties."

click the "MIME Types" tab.

click "New."

in the "extension" box, type the file name extension. Description

on the "MIME Types" box, type the client computer defined file type exact match.

Note also that no extension or MIME type of file to create an undefined MIME type. To do this, type an asterisk (*) in the Extension box and type application/octet-stream in the MIME Type box.

click "OK."

will add a MIME type to a Web site or directory

in IIS Manager, right-click where you want to add a MIME type of website or directory, click "Properties."

Click "HTTP header" tab.

Click "MIME type."

click "New."

in the "extension" box, type the file name extension. Description

on the "MIME Types" box, type the client computer defined file type exact match. If you define a MIME type that has been defined at a higher level, you will be prompted to choose the level at which this MIME type should reside.

click "OK."

following figure shows the relation between defined in IIS MIME types and document type definition on the client computer.

the MIME type

deleted from the website or directory in IIS Manager, right-click to delete from the MIME type of website or directory, click "Properties."

Click "HTTP header" tab.

Click "MIME type."

from "registered MIME type" list, click the MIME type you want to remove, then click "Remove."

click "OK."

such as: * .ISO

to increase as a downloadable file, the operation steps of the following two methods:

1, add all the download type IIS site in:

execution: start - programs - Administrative tools - local computer - the type of property -MIME - New.

then click OK - - - - OK, on ​​it. Other types can refer to the same settings.

2, IIS Manager, right-click where you want to add a MIME type of website or directory, click "Properties."

Click "HTTP header" tab.

Click "MIME type."

click "New."

in the "extension" box, type the file name extension: .iso.

In the "MIME Types" box, type ISO File

click "OK." //from the computer hardware and software described herein applied for www.45it.com
IIS6 break the ASP upload limit of a


200KB, modify the IIS provided to allow direct editing configuration database

Second, turn off the service in iis admin service service

find metabase.xml windows \\ system32 \\ inesrv \\ under,

open, he found ASPMaxRequestEntityAllowed amended as needed The value, the default is 204800, which is 200K to modify it to the size you need. Such as: 51200000 (50M)

then restart iis admin service service.

Copyright © Windows knowledge All Rights Reserved