利用IIS压缩文件

要求:IIS >5;IE>5 OR FireFox

步骤:
  1. NET STOP IISADMIN,停止IISAdmin服务(同时也就停止了WWW服务
  2. 键入 cd C:\InetPub\adminscripts
  3. CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx"
  4. CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx"
  5. net start w3svc

原文链接:http://support.microsoft.com/?id=322603

posted @ 2005-11-08 23:57  潘胜国  阅读(601)  评论(0编辑  收藏  举报