httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <>
Subject Re: [users@httpd] how can we use sniffer to verify http content from server is in compressed from
Date Fri, 20 Jun 2003 14:29:40 GMT
> I am using Apache and IIS to serve my pages. I enabled compression on both
> IIS and apache. I used "Ethreal" for sniffing the contents received from
> server on the client machine. I accessed a particular page and sniffed
> using ethreal when compression was enabled on Apache and then disabled
> compression and accessed the same page. The page I accessed is a static
> page. I sniffed data in both the cases (compression enabled and disabled)
> could not make out whats the difference in both the cases.
> Is there any way to determine that the data sent by the http server was
> compressed by using a sniffer.

Make sure you are using a large enough sample page.  The compress plugins
might be smart enough to realize that some pages will become larger with
compression enabled (because of a certain amount of overhead).  Using a page
that only has "test" in it won't help.  Try it with a HTML page that is at
least 10k in size.

Also, Ethereal might be intelligent and decode the compressed data?  You
could try using telnet to grab the HEAD of the page to see if it 1) lists
the module you are using to compress the page and 2) it is returning the
proper "this page is compressed" headers.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message