Enable IIS6 to support FLV and RMVB formats

Source: Internet
Author: User
Tags mail exchange

For the FLV type:
Method 1: Enable Internet Information Services Manager (iis (Microsoft WEB server platform )), choose "Local Computer"> "user site"> "property"> "HTTP header"> "MIME type"> "new ". Extension = ". flv" MIME type = "flv-application/octet-stream". Save and exit.
Method 2: Select "Local Computer" --> User site --> open "properties" --> "HTTP header" --> "MIME type"-> "new", MIME type: video/x-flv Extension :. flv to play

[Cause: IIS6 MIME verification is enhanced in WIN2003. Error 404 is displayed for all unregistered extended file formats.]

For the RMVB type:
Open Internet Information Services Manager (iis (Microsoft WEB server platform )), choose "Local Computer"> "user site"> "property"> "HTTP header"> "MIME type"> "new ". Extension = ". rmvb" MIME type = "application", save and exit.
Iso Type:
Open Internet Information Services Manager (iis (Microsoft WEB server platform )), choose "Local Computer"> "user site"> "property"> "HTTP header"> "MIME type"> "new ". Extension = ". iso" MIME type = "application". Save and exit.

Use MIME type

The Multipurpose Internet Mail Exchange (MIME) type describes how Web browsers or Mail applications process files received from servers. For example, when a Web browser requests a project on the server, it also requests the MIME type of the object. Some MIME types (examples) can be displayed in the browser. Other MIME types (such as text processing documents) need to be displayed by external help applications.

When IIS sends an email message to the mail application or the webpage to the client Web browser, IIS also sends the MIME type of the transmitted data. If an additional or embedded file is transmitted in a specific format, IIS notifies the client application of the MIME type of the embedded or attached file. Then the client application knows how to process or display the data that is being received from IIS.

IIS only provides services for files with extensions registered in the MIME type list, and allows you to configure other MIME types and change or delete MIME types.

IIS pre-configuration is the default setting for Recognizing global MIME types. All websites you create in IIS can recognize these MIME types. MIME types can also be defined on websites and directories independently of other or globally defined types. When viewing MIME types at the website or directory level, only the types corresponding to this level are displayed, not all types inherited from the previous level. If the same MIME type is applied at the global level after the MIME type is modified at a lower level, the Global MIME type will overwrite the modified MIME type at a lower level.

If the client request references a file extension whose extension is not defined in the MIME type, IIS returns a 404.3 error. By adding the wildcard (*) MIME type, you can also configure IIS to provide services to all files, regardless of the file extension.

To perform the following steps, you must be a member of the Administrators group on the local computer or be granted permissions. As the best security operation, log on to your computer using an account that is not in the Administrators group, and run the command as an administrator to run IIS manager. At the command prompt, type runas/user: administrative_accountname "mmc % systemroot % \ system32 \ inetsrv \ iis. msc ".

Add global MIME type

In IIS manager, expand the local computer, right-click the computer to which you want to add the MIME type, and click Properties ".

Click the MIME type tab.

Click new ".

In the extension box, type the file extension.

In the MIME type box, type a description that exactly matches the file type defined on the client computer.

Note that you can also create a MIME type for a file without an extension or undefined MIME type. To complete this operation, type an asterisk (*) In the "extension" box and application/octet-stream in the "MIME type" box.

Click OK ".

Add the MIME type to a website or directory

In IIS manager, right-click the website or website directory for which you want to add MIME types, and click "properties ".

Click the HTTP header tab.

Click "MIME type ".

Click new ".

In the extension box, type the file extension.

In the MIME type box, type a description that exactly matches the file type defined on the client computer. If you define a MIME type that has been defined at a higher level, the system will prompt you to select the level at which this MIME type should reside.

Click OK ".

Displays the relationship between the MIME type defined in IIS and the file type defined on the client computer.

Delete the MIME type from a website or directory

In IIS manager, right-click the website or website directory from which you want to delete MIME types and click "properties ".

Click the HTTP header tab.

Click "MIME type ".

From the registered MIME type list, click the MIME type to be deleted, and then click Delete ".

Click OK ".

For example:

To add a *. ISO file as downloadable, follow these steps:

1. Add download types for all IIS websites:

Run: Start-Program-Administrative Tools-local computer-properties-MIME type-New.

Click OK-Application-OK. For other types, see the same settings.

2. in IIS manager, right-click the website or website directory for which you want to add MIME types, and click "properties ".

Click the HTTP header tab.

Click "MIME type ".

Click new ".

In the extension box, type the file extension:. iso.

In the MIME type box, type ISO File

Click OK ".

IIS6 removes the KB limit on ASP upload

1. Modify IIS settings to allow direct editing of the configuration database

2. Disable the iis admin service in the service first.

Find metabase. xml under windows \ system32 \ inesrv,

Open it and find ASPMaxRequestEntityAllowed to change it to the required value. The default value is 204800, that is, 200 K to change it to your desired size. For example: 51200000 (50 M)

Restart the iis admin service.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.