<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iis &#8211; LPC影子技术分享</title>
	<atom:link href="https://www.mudbest.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mudbest.com</link>
	<description>行影不离,忘之却步.</description>
	<lastBuildDate>Mon, 01 Oct 2012 10:21:58 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>IIS禁止指定扩展名下载方案</title>
		<link>https://www.mudbest.com/iis%e7%a6%81%e6%ad%a2%e7%bd%ae%e9%a1%b6%e6%89%a9%e5%b1%95%e5%90%8d%e4%b8%8b%e8%bd%bd%e6%96%b9%e6%a1%88/</link>
		
		<dc:creator><![CDATA[hkshadow]]></dc:creator>
		<pubDate>Sat, 23 Jul 2011 17:44:46 +0000</pubDate>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[iis]]></category>
		<guid isPermaLink="false">http://www.mudbest.com/?p=719</guid>

					<description><![CDATA[禁止下载exe扩展名 Internet 信息服务(IIS)管理器→网站→属性→主目录→配置→添加 可执行文件： ... <a title="IIS禁止指定扩展名下载方案" class="read-more" href="https://www.mudbest.com/iis%e7%a6%81%e6%ad%a2%e7%bd%ae%e9%a1%b6%e6%89%a9%e5%b1%95%e5%90%8d%e4%b8%8b%e8%bd%bd%e6%96%b9%e6%a1%88/" aria-label="阅读 IIS禁止指定扩展名下载方案">阅读更多</a>]]></description>
										<content:encoded><![CDATA[<p>禁止下载exe扩展名<br />
Internet 信息服务(IIS)管理器→网站→属性→主目录→配置→添加<br />
可执行文件：C:\WINDOWS\twain_32.dll<br />
扩展名：.exe</p>
<p>如果你还想禁止下载其它的东东<span id="more-719"></span><br />
Internet 信息服务(IIS)管理器→网站→属性→主目录→配置→添加<br />
可执行文件：C:\WINDOWS\twain_32.dll<br />
扩展名：.(改成你要禁止的文件名)</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>在IIS中启用Gzip压缩</title>
		<link>https://www.mudbest.com/%e5%9c%a8iis%e4%b8%ad%e5%90%af%e7%94%a8http%e5%8e%8b%e7%bc%a9/</link>
		
		<dc:creator><![CDATA[hkshadow]]></dc:creator>
		<pubDate>Fri, 29 Apr 2011 08:27:43 +0000</pubDate>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[Gzip]]></category>
		<category><![CDATA[iis]]></category>
		<guid isPermaLink="false">http://www.mudbest.com/?p=632</guid>

					<description><![CDATA[IIS默认并不支持HTTP压缩，需要进行简单的配置 打开Internet信息服务(IIS)管理器，右击&#82 ... <a title="在IIS中启用Gzip压缩" class="read-more" href="https://www.mudbest.com/%e5%9c%a8iis%e4%b8%ad%e5%90%af%e7%94%a8http%e5%8e%8b%e7%bc%a9/" aria-label="阅读 在IIS中启用Gzip压缩">阅读更多</a>]]></description>
										<content:encoded><![CDATA[<p>IIS默认并不支持HTTP压缩，需要进行简单的配置 </p>
<p>打开Internet信息服务(IIS)管理器，右击&#8221;网站&#8221;->&#8221;属性&#8221;，选择&#8221;服务&#8221;。在&#8221;HTTP压缩&#8221;框中选中&#8221;压缩应用程序文件&#8221;和&#8221;压缩静态文件&#8221;，按需要设置&#8221;临时目录&#8221;和&#8221;临时目录的最大限制&#8221;；<br />
<a href="http://www.mudbest.com/632.action/2-6" rel="attachment wp-att-633"><img fetchpriority="high" decoding="async" src="http://www.mudbest.com/wp-content/uploads/2011/04/21-370x429.jpg" alt="" title="2" width="370" height="429" class="alignnone size-medium wp-image-633" srcset="https://www.mudbest.com/wp-content/uploads/2011/04/21-370x429.jpg 370w, https://www.mudbest.com/wp-content/uploads/2011/04/21.jpg 544w" sizes="(max-width: 370px) 100vw, 370px" /></a></p>
<p>在Internet信息服务(IIS)管理器，右击&#8221;Web服务扩展&#8221;->&#8221;增加一个新的Web服务扩展&#8230;&#8221;，在&#8221;新建Web服务扩展&#8221;框中输入扩展名&#8221;HTTP Compression&#8221;，添加&#8221;要求的文件&#8221;为C:\WINDOWS\system32\inetsrv\gzip.dll，其中Windows系统目录根据您的安装可能有所不同，选中&#8221;设置扩展状态为允许&#8221;； <span id="more-632"></span></p>
<p><a href="http://www.mudbest.com/632.action/3-5" rel="attachment wp-att-634"><img decoding="async" src="http://www.mudbest.com/wp-content/uploads/2011/04/31-454x430.jpg" alt="" title="3" width="454" height="430" class="alignnone size-medium wp-image-634" srcset="https://www.mudbest.com/wp-content/uploads/2011/04/31-454x430.jpg 454w, https://www.mudbest.com/wp-content/uploads/2011/04/31.jpg 609w" sizes="(max-width: 454px) 100vw, 454px" /></a></p>
<p>使用文本编辑器打开C:\Windows\System32\inetsrv\MetaBase.xml(建议先备份),<br />
找到Location =&#8221;/LM/W3SVC/Filters/Compression/gzip用于设置gzip压缩，<br />
找到Location =&#8221;/LM/W3SVC/Filters/Compression/deflate&#8221;用于设置deflate压缩.<br />
上面两个节点紧挨着.并且设置的属性相同. </p>
<p>如果需要压缩动态文件，则将HcDoDynamicCompression设置为&#8221;TRUE&#8221;，并在HcScriptFileExtensions中增加您要压缩的动态文件后缀名，如aspx；如果需要压缩静态文件，则将HcDoStaticCompression和HcDoOnDemandCompression设置为&#8221;TRUE&#8221;，并在HcFileExtensions中增加您需要压缩的静态文件后缀名，如xml、css等；HcDynamicCompressionLevel和HcOnDemandCompLevel表示需要的压缩率，数值在0-10, 默认为0.<br />
HcDynamicCompressionLevel属性说明:HcDynamicCompressionLevel Metabase Property<br />
HcOnDemandCompLevel 属性说明:HcOnDemandCompLevel Metabase Property </p>
<p>说明: 这两个属性值一般推荐设置为9, 具有最佳性价比.但是在我的window server 2003上, 压缩率无论如何设置, jQuery和jQuery UI两个文件(58k/188k)压缩后的大小一直相同.(20k/45k).  </p>
<p>一下是我的配置</p>
<p><a href="http://www.mudbest.com/632.action/1-8" rel="attachment wp-att-635"><img decoding="async" src="http://www.mudbest.com/wp-content/uploads/2011/04/11-410x430.jpg" alt="" title="1" width="410" height="430" class="alignnone size-medium wp-image-635" srcset="https://www.mudbest.com/wp-content/uploads/2011/04/11-410x430.jpg 410w, https://www.mudbest.com/wp-content/uploads/2011/04/11.jpg 654w" sizes="(max-width: 410px) 100vw, 410px" /></a></p>
<pre class="brush: xml; title: ; notranslate">
&lt;IIsCompressionScheme	Location =&quot;/LM/W3SVC/Filters/Compression/deflate&quot;
		HcCompressionDll=&quot;%windir%\system32\inetsrv\gzip.dll&quot;
		HcCreateFlags=&quot;0&quot;
		HcDoDynamicCompression=&quot;TRUE&quot;
		HcDoOnDemandCompression=&quot;TRUE&quot;
		HcDoStaticCompression=&quot;FALSE&quot;
		HcDynamicCompressionLevel=&quot;10&quot;
		HcFileExtensions=&quot;htm
			html
			txt&quot;
		HcOnDemandCompLevel=&quot;10&quot;
		HcPriority=&quot;1&quot;
		HcScriptFileExtensions=&quot;asp
php
xml
			dll
			exe&quot;
	&gt;
&lt;/IIsCompressionScheme&gt;
&lt;IIsCompressionScheme	Location =&quot;/LM/W3SVC/Filters/Compression/gzip&quot;
		HcCompressionDll=&quot;%windir%\system32\inetsrv\gzip.dll&quot;
		HcCreateFlags=&quot;1&quot;
		HcDoDynamicCompression=&quot;TRUE&quot;
		HcDoOnDemandCompression=&quot;TRUE&quot;
		HcDoStaticCompression=&quot;TRUE&quot;
		HcDynamicCompressionLevel=&quot;10&quot;
		HcFileExtensions=&quot;htm
			html
			txt&quot;
		HcOnDemandCompLevel=&quot;10&quot;
		HcPriority=&quot;1&quot;
		HcScriptFileExtensions=&quot;asp
php
xml
			dll
			exe&quot;
	&gt;
&lt;/IIsCompressionScheme&gt;
</pre>
<p>以下是测试结果</p>
<p><a href="http://www.mudbest.com/632.action/11-3" rel="attachment wp-att-641"><img loading="lazy" decoding="async" src="http://www.mudbest.com/wp-content/uploads/2011/04/111-502x430.jpg" alt="" title="11" width="502" height="430" class="alignnone size-medium wp-image-641" srcset="https://www.mudbest.com/wp-content/uploads/2011/04/111-502x430.jpg 502w, https://www.mudbest.com/wp-content/uploads/2011/04/111.jpg 691w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
