IIS 6 Compression Gzip & Deflate


/ Published in: DOS Batch
Save to your folder(s)



Copy this code and paste it in your HTML
  1. cscript C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcScriptFileExtensions "asp" "dll" "exe"
  2.  
  3. cscript C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/Filters/Compression/gzip/HcScriptFileExtensions "asp" "dll" "exe"
  4.  
  5. cscript C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcFileExtensions "htm" "html" "txt" "css" "js" "xml"
  6.  
  7. cscript C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/Filters/Compression/gzip/HcFileExtensions "htm" "html" "txt" "css" "js" "xml"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.