ISA 2004: Web Publishing disabling HTTP Compression

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Michael J. Carter (michael_at_volcanictech.com)
Date: 09/21/04

  • Next message: Michael J. Carter: "Re: ISA 2004: Web Publishing disabling HTTP Compression"
    Date: Tue, 21 Sep 2004 16:16:01 -0400
    
    

    I'm using ISA 2004 and publishing internal web servers using Web Publishing.
    I have enabled HTTP Compression (IIS6) on these sites, and everything works
    if I access the server internally (directly).

    However, external clients that go through ISA are not getting HTTP
    Compression.

    I did some experiments and this is what I found out:

    I created a test page on my internal server that dumps the headers. If I
    access the site internally, I see this header:

        Accept-Encoding: gzip, deflate

    And all is well.

    However, if I access it from an external site, the header is no longer
    there.

    I then created a simple Web Filter and installed it on the ISA Server. This
    filter simply logs the Accept-Encoding header during the PREPROC_HEADERS
    notification. The logs show that the Accept-Encoding header is present.

    Therefore, somewhere between the time my filter executes and ISA dispactches
    the request to my web server, the Accept-Encoding header is stripped. I
    understand that HTTP Filtering of the response body and HTTP compression
    don't mix. However, I have disabled every Web Filter (except the one I
    added) and I'm still seeing this problem.

    Is this normal behavior?

    Am I going to have to implement HTTP Compression in my filter and not use
    the one built in to IIS 6?

    Oddly, I found this quote on Microsoft site:
    http://www.microsoft.com/technet/prodtechnol/isa/2004/plan/httpfiltering.mspx

          Q. Can I cache compressed content?
          A. In a Web publishing scenario, ISA Server allows the traversal of
    compressed responses from the Web server to the client, if the client sends
    an Accept-Encoding header indicating that it will accept compressed content.
    However, compressed content will not be cached. Note that ISA Server does
    not support traversal of compression responses in a forward proxy scenario,
    and does not support inspection of compressed response bodies in any
    direction.

    So it appears that this is supposed to work. What am I missing here?

    BTW: I disabled HTTP Caching, and it is still not working.

    Michael


  • Next message: Michael J. Carter: "Re: ISA 2004: Web Publishing disabling HTTP Compression"

    Relevant Pages

    • ISA 2006 EE Web publishing crashing
      ... one web server for a month or so, then today I finally switched my 5 web ... ISA Server was unable to compress a response body from ... for completing the compression process. ... Compression Failure (Allocated Memory Exhausted) ...
      (microsoft.public.isa)
    • Re: special browser cannot display page ...
      ... >I have ran into a similiar problem before with Mircosoft ISA before. ... > get a HTTP sniffer and see what's actually sent by the server. ... > possibility is compression. ... I installed the web server myself and didn't add any extension for ...
      (comp.lang.php)
    • Re: Rsync and Compression
      ... > I have created a script that will backup some files from my web server ... On a local link I turn compression off. ... you should check into compression on the httpd server side. ... The backup impact of this is that the pages on the web site are ...
      (Fedora)
    • RE: OWA Calendar loading error
      ... On a server that is running Microsoft Windows Small Business Server 2003 ... In the drop-down menu next to Compression, ... IIS 6.0 compression corruption causes access violations ... Open the IIS Temporary Compressed Files folder. ...
      (microsoft.public.windows.server.sbs)
    • Re: Compressing file system, NFS
      ... > for decompression and could even do compression (which I don't need at the ... > moment) without slowing down the clients. ... an encrypting userland NFS server. ...
      (comp.unix.bsd.freebsd.misc)