Http Compression on X64
am 29.08.2007 00:54:01 von R.vanPoelgeest
Hi there,
I can't get Http compression to work on x64 box running Windows Standard
2003 SP2. The setup I use:
1) C:\WINDOWS\IIS Temporary Compressed Files is writeable bij Everyone
2) C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi .dll is used
to handle asp.net requests
3) Web service extention: C:\WINDOWS\SysWOW64\inetsrv\gzip.dll (Allowed)
4) Requests are browser (IE7) made and contain: Accept-Encoding: gzip, deflate
5) Enable32bitAppOnWin64 is not present in the MetaBase.xml
6) C:\WINDOWS\system32\inetsrv\MetaBase.xml also contains :
HcCompressionDll="%windir%\sysWOW64\inetsrv\gzip.dll"
HcCreateFlags="0"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="FALSE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt
ppt
xls
xml
pdf
xslt
doc
xsl
htc
js
css"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
asmx
ashx"
>
HcCompressionDll="%windir%\sysWOW64\inetsrv\gzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt
ppt
xls
xml
pdf
xslt
doc
xsl
htc
js
css"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
asmx
ashx"
>
HcCacheControlHeader="max-age=86400"
HcCompressionBufferSize="8192"
HcCompressionDirectory="C:\WINDOWS\IIS Temporary Compressed Files"
HcDoDiskSpaceLimiting="FALSE"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT"
HcFilesDeletedPerDiskFree="256"
HcIoBufferSize="8192"
HcMaxDiskSpaceUsage="1073741824"
HcMaxQueueLength="1000"
HcMinFileSizeForComp="1"
HcNoCompressionForHttp10="TRUE"
HcNoCompressionForProxies="TRUE"
HcNoCompressionForRange="FALSE"
HcSendCacheHeaders="FALSE"
>
Any help would be greatly appreciated.
Re: Http Compression on X64
am 29.08.2007 07:27:11 von David Wang
1. Not necessary. Default settings work.
2. Extraneous information from compression perspective. It indicates
you configured 64bit ASP.Net ISAPI to handle ASP.Net requests
3. Not necessary for compression at all. Remove it
4. Prove that the server actually received the "Accept-Encoding: gzip,
deflate" header
5. This means you are running IIS6 as native bitness. Practically
speaking, it means you are running 32bit UNLESS you installed Windows
Server 2003 R2 64bit on x64.
6. You misconfigured IIS to use 32bit DLLs, which do not match the
64bit DLL you configured in #2 -- the two settings are contradictory.
Change all the SysWOW64 back to System32. That configuration will
magically work no matter the configuration of Enable32bitAppOnWin64.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Aug 28, 3:54 pm, Robert van Poelgeest
wrote:
> Hi there,
>
> I can't get Http compression to work on x64 box running Windows Standard
> 2003 SP2. The setup I use:
> 1) C:\WINDOWS\IIS Temporary Compressed Files is writeable bij Everyone
> 2) C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi .dll is used
> to handle asp.net requests
> 3) Web service extention: C:\WINDOWS\SysWOW64\inetsrv\gzip.dll (Allowed)
> 4) Requests are browser (IE7) made and contain: Accept-Encoding: gzip, deflate
> 5) Enable32bitAppOnWin64 is not present in the MetaBase.xml
> 6) C:\WINDOWS\system32\inetsrv\MetaBase.xml also contains :
>
>
> HcCompressionDll="%windir%\sysWOW64\inetsrv\gzip.dll"
> HcCreateFlags="0"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="FALSE"
> HcDynamicCompressionLevel="9"
> HcFileExtensions="htm
> html
> txt
> ppt
> xls
> xml
> pdf
> xslt
> doc
> xsl
> htc
> js
> css"
> HcOnDemandCompLevel="10"
> HcPriority="1"
> HcScriptFileExtensions="asp
> dll
> exe
> aspx
> asmx
> ashx"
> >
>
>
> HcCompressionDll="%windir%\sysWOW64\inetsrv\gzip.dll"
> HcCreateFlags="1"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="TRUE"
> HcDynamicCompressionLevel="9"
> HcFileExtensions="htm
> html
> txt
> ppt
> xls
> xml
> pdf
> xslt
> doc
> xsl
> htc
> js
> css"
> HcOnDemandCompLevel="10"
> HcPriority="1"
> HcScriptFileExtensions="asp
> dll
> exe
> aspx
> asmx
> ashx"
> >
>
>
> HcCacheControlHeader="max-age=86400"
> HcCompressionBufferSize="8192"
> HcCompressionDirectory="C:\WINDOWS\IIS Temporary Compressed Files"
> HcDoDiskSpaceLimiting="FALSE"
> HcDoDynamicCompression="TRUE"
> HcDoOnDemandCompression="TRUE"
> HcDoStaticCompression="TRUE"
> HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT"
> HcFilesDeletedPerDiskFree="256"
> HcIoBufferSize="8192"
> HcMaxDiskSpaceUsage="1073741824"
> HcMaxQueueLength="1000"
> HcMinFileSizeForComp="1"
> HcNoCompressionForHttp10="TRUE"
> HcNoCompressionForProxies="TRUE"
> HcNoCompressionForRange="FALSE"
> HcSendCacheHeaders="FALSE"
> >
>
>
> Any help would be greatly appreciated.
Re: Http Compression on X64
am 29.08.2007 10:58:00 von R.vanPoelgeest
Hi David,
thanks a lot for replying. I am using Windows Server 2003 R2 64bit on x64.
The mistake I made was that I thought the 32bit dll's where in system32 and
the 64bit dll's in WOW64 where of course in reality it's the other way around
:-).
Robert