次の方法で共有


Enabling and Disabling Dynamic Content in IIS 6.0

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008

You can enable or disable Web service extensions individually if they are registered in the Web Service Extensions node in IIS Manager. When enabled features are no longer required, you can disable them through the Web Service Extensions node in IIS Manager.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To enable or disable dynamic content

  1. In IIS Manager, expand the local computer, and then click Web Service Extensions.

  2. In the details pane, click the Web service extension that you want to enable or disable.

  3. Do one of the following:

    • To enable a disabled Web service extension, click Allow.

    • To disable an enabled Web service extension, click Prohibit.

    • To view the properties of a Web service extension, click Properties.

  4. Click OK.

Important

If you choose to allow all unknown ISAPI extensions or CGI extensions to run on your Web server, your Web server could be susceptible to computer viruses or worms that exploit these technologies. Instead, select only those specific ISAPI extensions or CGI extensions that you need to run on your Web server.

You can disable all Web service extensions that are registered on the local computer with one setting in the Web Service Extensions node of IIS Manager.

To disable all Web service extensions

  1. In IIS Manager, expand the local computer, and then click Web Service Extensions.

  2. Click Prohibit all extensions. A warning message appears.

  3. To disable all extensions, click Yes. To cancel the action, click No. To see more information, click Help.

  4. If you click Yes, the status of each Web service extension is disabled.