博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
IIS Enabling HTTP Keep-Alives
阅读量:6455 次
发布时间:2019-06-23

本文共 1964 字,大约阅读时间需要 6 分钟。

IIS 6.0

from:

Procedures

To enable HTTP Keep-Alives

1.

In , expand the local computer, expand the Web Sites folder, right-click the Web site, and click Properties.

2.

On the Web Site tab, in the Connections section, click the Enable HTTP Keep-Alives check box.

3.

Click Apply, and then click OK.

IIS 7

from:

You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts.

  1. Open IIS Manager and navigate to the level you want to manage. For information about opening IIS Manager, see . For information about navigating to locations in the UI, see .

  2. In Features View, double-click HTTP Response Headers.

  3. On the HTTP Response Headers page, in the Actions pane, click Set Common Headers.

  4. In the Set Common HTTP Response Headers dialog box, select the Enable HTTP keep-alive check box and then click OK.

To enable the HTTP keep-alive header, use the following syntax:

appcmd set config /section:httpProtocol /allowKeepAlive:true | false

By default, the HTTP keep-alive header is enabled, but you can disable it by setting allowKeepAlive to false. For example, to disable the HTTP keep-alive header, type the following at the command prompt, and then press ENTER:

appcmd set config /section:httpProtocol /allowKeepAlive:false

For more information about Appcmd.exe, see .

The procedure in this topic affects the following configuration elements:

allowKeepAlive attribute of the <httpProtocol> configuration element

For more information about IIS 7 configuration, see on MSDN.

Use the following WMI classes, methods, or properties to perform this procedure:

  • HTTPProtocolSection.AllowKeepAlive property

For more information about WMI and IIS, see . For more information about the classes, methods, or properties associated with this procedure, see the on the MSDN site.

本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/p/5851775.html,如需转载请自行联系原作者

你可能感兴趣的文章
快成物流完成亿元级Pre-A轮融资,为公路货运行业提供一体化的智慧物流解决方案...
查看>>
商城商品微信支付
查看>>
CentOS常用命令
查看>>
Ansible playbook 部署filebeat
查看>>
使用记事本画出照片——眼前一亮
查看>>
Kotlin 异常处理(try...catch,finally)
查看>>
mybatis随笔四之MapperProxy
查看>>
Android官方DataBinding简例(一)
查看>>
video_replay如何捕获和回放WebRTC视频流
查看>>
EasyStack华丽亮相OpenStack Days China
查看>>
文件夹自动标号分类
查看>>
Android Bluetooth蓝牙开发:Bluetooth蓝牙设备之间的连接建立(3)
查看>>
不要污要优雅!国产VR游戏《甜蜜软妹子》上线
查看>>
Kubernetes 1.14 发布,31 项功能增强
查看>>
智能玩具机器人Cozmo的背后:Anki如何打造这一现象级项目?
查看>>
SpaceX再度创造历史,成功回收全球首枚“二手火箭”
查看>>
号称能够理解自然语言的聊天机器人,在图灵测试下被分分钟打脸
查看>>
/usr/bin/env: node: 没有那个文件或目录
查看>>
Maven自动部署(SCM-SVN/Git)(maven-scm-plugin/maven-release-plugin插件的使用)
查看>>
网约车市场扑朔迷离,企业级办公租赁市场异军突起
查看>>