Another way to do it is to go to the c:\inetpub\AdminScripts directory and
create a .BAT file.  Put the following into the .BAT file:

cscript.exe adsutil.vbs set
W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "cfm" "dll"
"exe" "aspx"
cscript.exe adsutil.vbs set
W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "cfm" "dll"
"exe" "aspx"
IISreset.exe /restart

Note that the BAT file contains only 3 lines... it might wrap in your mail
reader.  The reason I like this method is that I can modify my .BAT file at
any time and add or remove extensions.  Please note that this only modifies
the "Application" extensions.  If you want to modify the "static" page
extensions the command is slightly different.

-Novak

----- Original Message -----
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 4:29 AM
Subject: Re: HTTP Compression and ColdFusion


> Jesse Houwing wrote:
>
> > Do you ahve any information as to how to do this? I can run the
> > script, but it is not very self expleining I'm afraid.
>
> Download the metabase editor from Microsoft
> http://support.microsoft.com/default.aspx?scid=kb;en-us;Q232068
> It is a RegEdit lookalike, only it is used to change the IIS metabase.
> Add cfm to the list of extensions in both
> LM\W3SVC\Filters\Compression\Deflate\HcScriptFileExtensions and
> LM\W3SVC\Filters\Compression\Gzip\HcScriptFileExtensions and restart the
> service.
>
> Jochem
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to