Antwort: Re: [Mod_gzip] SEND_AS_IS:HAS_CE message

Jack Wang mod_gzip@lists.over.net
Tue, 6 May 2003 10:18:21 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0028_01C313B8.D20E7960
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Stephen,

The new mod_gzip access status are as follows,

GET /liwen/php/mail.php HTTP/1.1" 200 432 mod_gzip: DECLINED:EXCLUDED=20
In:0 -< Out:0 =3D 0 pct.
GET /liwen/index.htm HTTP/1.1" 200 808 mod_gzip: OK In:572 -< Out:380 =
=3D 34 pct.

I think all work. Regarding php file compression, I have added php =
extension as an excluded item in mod_gzip config file. So, mail.php is =
treated as "DECLINED:EXCLUDED". Is it right ?

BTW, I have also input "mod_gzip_item_include file  ^.*\.php.*$" to =
mod_gzip.conf file


.
Regards,

Jack=20
  ----- Original Message -----=20
  From: Stephen Pierzchala=20
  To: mod_gzip@lists.over.net=20
  Sent: Tuesday, May 06, 2003 4:21 AM
  Subject: Re: Antwort: Re: [Mod_gzip] SEND_AS_IS:HAS_CE message


  Ok, I think that I finally tracked this down. Here is my modded =
mod_gzip=20
  config:

  mod_gzip_item_include file  ^.*\.php.*$
  mod_gzip_item_include mime ^text/.*$
  mod_gzip_item_include mime ^application/postscript$
  mod_gzip_item_include mime ^application/ms.*$
  mod_gzip_item_include mime ^application/vnd.*$
  mod_gzip_item_exclude mime ^application/x-javascript$
  mod_gzip_item_exclude mime ^image/.*$

  Note the manner which I specified the PHP files; some of these files=20
  will have information after the file extension and this appears to=20
  resolve the issues with all PHP files.

  Give this a shot and let me know how it works.


  smp

  Stephen Pierzchala wrote:
  > Jack:
  >=20
  > Guess I wasn't clear enough.
  >=20
  > =
/phpMyAdmin/main.php?lang=3Dzh-tw&convcharset=3Diso-8859-1&server=3D1  =20
  >         Method 1:    3967 Bytes
  >         Method 2:    3097 Bytes
  >=20
  > If you disable Output Buffering AND zlib_compression, how large are=20
  > these files?
  >=20
  > The point I was trying to make was that PHP is compressing these =
files=20
  > BEFORE they are processed by mod_gzip. When mod_gzip sees that they =
have=20
  > already been compressed once -- using the native PHP compression -- =
it=20
  > does not attempt to compress the output a second time.
  >=20
  > In fact, if mod_gzip attempted to compress the output after it had=20
  > already been compressed the result would be a larger file, as=20
  > compressing compressed files is a big no-no.
  >=20
  > ---
  >=20
  > A side note: If you want all text output to be processed by =
mod_gzip,=20
  > you need one simple line in the mod_gzip config:
  >=20
  > mod_gzip_item_include         mime       ^text/.*$
  >=20
  > That will get rid of several lines in your mod_gzip config, and =
cover=20
  > all files that use "text" in their MIME type.
  >=20
  > smp
  >=20
  >=20
  > Jack Wang wrote:
  >=20
  >> Hi Michael and Stephen,
  >>
  >> Thanks for your reply.
  >>
  >>
  >>
  >>> Hi all:
  >>>
  >>> PHP does have Content Compression built into it. I have an entire =
paper
  >>> on PHP compression at =
http://www.webcompression.org/php-compress.html.
  >>>
  >>
  >>
  >> Thanks.  I have read it. Very good.
  >>
  >>
  >>> Three lines in the php.ini file that you need to be concerned =
about:
  >>>
  >>> Method 1:
  >>>
  >>> output_buffering =3D On
  >>> output_handler =3D ob_gzhandler
  >>> zlib.output_compression =3D Off
  >>
  >>
  >>
  >> Here is the result status by method 1;
  >>
  >> A) GET /liwen/index.htm HTTP/1.1" 200 808 mod_gzip: OK In:572 -<=20
  >> Out:380 =3D
  >> 34 pct.
  >>
  >> B) GET /index.php?file=3Dcompany/contact.html HTTP/1.1" 200 17993 =
mod_gzip:
  >>      SEND_AS_IS:HAS_CE In:0 -< Out:0 =3D 0 pct.
  >>
  >> C) GET /liwen/php/mail.php HTTP/1.1" 200 818 mod_gzip: =
SEND_AS_IS:HAS_CE
  >> In:0 -< Out:0 =3D 0 pct.
  >>
  >> D) GET =
/phpMyAdmin/main.php?lang=3Dzh-tw&convcharset=3Diso-8859-1&server=3D1
  >> HTTP/1.1"
  >>      200 3967 mod_gzip: SEND_AS_IS:HAS_CE In:0 -< Out:0 =3D 0 pct.
  >>
  >>
  >>
  >>> Method 2:
  >>>
  >>> output_buffering =3D Off
  >>> output_handler =3D
  >>> zlib.output_compression =3D On
  >>
  >>
  >>
  >> Here is the result staus by method 2;
  >>
  >>  A) GET /liwen/index.htm HTTP/1.1" 200 - mod_gzip: =
SEND_AS_IS:NO_200
  >>       In:0 -< Out:0 =3D 0 pct.
  >>
  >>  B) GET /index.php?file=3Dcompany/contact.html HTTP/1.1" 200 18263=20
  >> mod_gzip:
  >>       SEND_AS_IS:HAS_CE In:0 -< Out:0 =3D 0 pct.
  >>
  >>  C) GET /liwen/php/mail.php HTTP/1.1" 200 818 mod_gzip: =
SEND_AS_IS:HAS_CE
  >>       In:0 -< Out:0 =3D 0 pct.
  >>
  >>  D) GET =
/phpMyAdmin/main.php?lang=3Dzh-tw&convcharset=3Diso-8859-1&server=3D1
  >> HTTP/1.1"
  >>       200 4079 mod_gzip: SEND_AS_IS:HAS_CE In:0 -< Out:0 =3D 0 pct.
  >>
  >> Transparently, Gzip didn't compress PHP code by Method 1 and 2.  =
BTW,=20
  >> Gzip
  >> didn't compress HTM by Method 2 (Method 2A).
  >>
  >> Here is my part of mod_gzip.conf.
  >>
  >> mod_gzip_item_include         file       \.html$
  >> mod_gzip_item_include         file       \.htm$
  >> mod_gzip_item_include         file       \.php$
  >> mod_gzip_item_include         file       \.php3$
  >> mod_gzip_item_include         file       \.txt$
  >> mod_gzip_item_include         file       \.pdf$
  >> mod_gzip_item_include         file       [^.]*$
  >> mod_gzip_item_include         file       \.js$
  >> mod_gzip_item_include         file       \.css$
  >> mod_gzip_item_include         file       \.pl$
  >> mod_gzip_item_include         handler    ^cgi-script$
  >> mod_gzip_item_include         handler    ^perl-script$
  >> mod_gzip_item_include         mime       ^text/html$
  >> mod_gzip_item_include         mime       ^text/plain$
  >> mod_gzip_item_include         mime       ^application/pdf$
  >> mod_gzip_item_include         mime       ^httpd/unix-directory$
  >> mod_gzip_item_include         mime       ^application/postscript$
  >> mod_gzip_item_include         mime       ^application/ms.*$
  >> mod_gzip_item_include         mime       ^application/vnd.$
  >> mod_gzip_item_include         mime       ^application/x-httpd-php$
  >> mod_gzip_item_exclude        mime       ^application/x-javascript$
  >> mod_gzip_item_exclude        mime       ^image/.*$
  >> mod_gzip_dechunk              Yes
  >>
  >>
  >> Might my configuration be wrong ?! Any comment ? Thanks in advance.
  >>
  >>
  >>> In your case, setting "output_buffering =3D Off" will turn off the =
PHP
  >>> compression.
  >>>
  >>> I handle all compression through mod_deflate/mod_gzip, but there =
is
  >>> NOTHING wrong with PHP handling compression for PHP files. It just =
means
  >>> that mod_deflate/mod_gzip doesn't NEED to compress the data.
  >>>
  >>> Just my two cents worth.
  >>>
  >>> smp
  >>>
  >>> Michael.Schroepl@telekurs.de wrote:
  >>>
  >>>> Hi Jack,
  >>>>
  >>>>
  >>>>
  >>>>
  >>>>> output_handler =3D ob_gzhandler
  >>>>
  >>>>
  >>>>
  >>>> this one is known to provide gzip compression for PHP
  >>>> scripts - but don't ask me how to configure or even
  >>>> disable it.
  >>>> As Kevin pointed out, you may want to comment this out.
  >>>>
  >>>>
  >>>>
  >>>>> PS: I have enabled Zend Opertmizer.
  >>>>
  >>>>
  >>>>
  >>>> Heureka.
  >>>>
  >>>> Please read
  >>>>     http://www.zend.com/zend/art/buffering.php
  >>>> where Zend documents their procedure how to serve PHP
  >>>> output in compressed form. (Unfortunately, they don't
  >>>> use link targets inside their documents ...)
  >>>>
  >>>> You don't have any problem at all, except for not reading
  >>>> the documentation of the suite of software that you are
  >>>> using (which includes
  >>>>
  >>
  >> =
http://www.schroepl.net/projekte/mod_gzip/status.htm#SEND_AS_IS:HAS_CE
  >>
  >>>> as well), and thus wondering what their diagnostic output
  >>>> means.
  >>>> After all, who cares which of your modules actually does
  >>>> the compression, as long as any one does it?
  >>>>
  >>>> Regards, Michael
  >>>>
  >>>>
  >>>>
  >>>> P.S.: It took me about 30 seconds to ask Google for
  >>>>
  >>>>      "Zend gzip"; the above link is the _first_ hit.
  >>>>
  >>>>
  >>>> _______________________________________________
  >>>> mod_gzip mailing list
  >>>> mod_gzip@lists.over.net
  >>>> http://lists.over.net/mailman/listinfo/mod_gzip
  >>>>
  >>>>
  >>>>
  >>>
  >>> --=20
  >>>
  >>> ****
  >>>
  >>> Stephen Pierzchala
  >>> stephen@pierzchala.com
  >>> http://www.performanceguru.com/
  >>>
  >>> _______________________________________________
  >>> mod_gzip mailing list
  >>> mod_gzip@lists.over.net
  >>> http://lists.over.net/mailman/listinfo/mod_gzip
  >>>
  >>
  >>
  >> _______________________________________________
  >> mod_gzip mailing list
  >> mod_gzip@lists.over.net
  >> http://lists.over.net/mailman/listinfo/mod_gzip
  >>
  >>
  >>
  >=20

  --=20

  ****

  Stephen Pierzchala
  stephen@pierzchala.com
  http://www.performanceguru.com/

  _______________________________________________
  mod_gzip mailing list
  mod_gzip@lists.over.net
  http://lists.over.net/mailman/listinfo/mod_gzip


------=_NextPart_000_0028_01C313B8.D20E7960
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><STRONG><FONT face=3D"MS Sans Serif">Stephen,</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif"></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif">The new mod_gzip access status =
are as=20
follows,</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif"></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif">GET /liwen/php/mail.php =
HTTP/1.1" 200=20
432 mod_gzip: DECLINED:EXCLUDED </FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif">In:0 -&lt; Out:0 =3D 0 =
pct.<BR>GET=20
/liwen/index.htm HTTP/1.1" 200 808 mod_gzip: OK In:572 -&lt; Out:380 =3D =
34=20
pct.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif"></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif">I think all work. Regarding =
php file=20
compression, I have added php extension as an excluded item in mod_gzip =
config=20
file. So, mail.php is treated as "DECLINED:EXCLUDED". Is it right=20
?</FONT></STRONG></DIV>
<DIV><STRONG><FONT face=3D"MS Sans Serif"></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3D"MS Sans Serif"><STRONG>BTW, I have also input=20
</STRONG>"mod_gzip_item_include file&nbsp; ^.*\.php.*$" to mod_gzip.conf =

file</DIV>
<DIV><STRONG><BR></STRONG></DIV></FONT>
<DIV>.<BR>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jack </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt &#26032;&#32048;&#26126;&#39636;">----- =
Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt =
&#26032;&#32048;&#26126;&#39636;; font-color: black"><B>From:</B>=20
  <A title=3Dstephen@pierzchala.com =
href=3D"mailto:stephen@pierzchala.com">Stephen=20
  Pierzchala</A> </DIV>
  <DIV style=3D"FONT: 10pt &#26032;&#32048;&#26126;&#39636;"><B>To:</B> =
<A title=3Dmod_gzip@lists.over.net=20
  href=3D"mailto:mod_gzip@lists.over.net">mod_gzip@lists.over.net</A> =
</DIV>
  <DIV style=3D"FONT: 10pt =
&#26032;&#32048;&#26126;&#39636;"><B>Sent:</B> Tuesday, May 06, 2003 =
4:21 AM</DIV>
  <DIV style=3D"FONT: 10pt =
&#26032;&#32048;&#26126;&#39636;"><B>Subject:</B> Re: Antwort: Re: =
[Mod_gzip]=20
  SEND_AS_IS:HAS_CE message</DIV>
  <DIV><BR></DIV>
  <DIV>Ok, I think that I finally tracked this down. Here is my modded =
mod_gzip=20
  <BR>config:<BR><BR>mod_gzip_item_include file&nbsp;=20
  ^.*\.php.*$<BR>mod_gzip_item_include mime =
^text/.*$<BR>mod_gzip_item_include=20
  mime ^application/postscript$<BR>mod_gzip_item_include mime=20
  ^application/ms.*$<BR>mod_gzip_item_include mime=20
  ^application/vnd.*$<BR>mod_gzip_item_exclude mime=20
  ^application/x-javascript$<BR>mod_gzip_item_exclude mime=20
  ^image/.*$<BR><BR>Note the manner which I specified the PHP files; =
some of=20
  these files <BR>will have information after the file extension and =
this=20
  appears to <BR>resolve the issues with all PHP files.<BR><BR>Give this =
a shot=20
  and let me know how it works.</DIV>
  <DIV><STRONG><FONT=20
  face=3D"MS Sans Serif"></FONT></STRONG><BR><BR>smp<BR><BR>Stephen =
Pierzchala=20
  wrote:<BR>&gt; Jack:<BR>&gt; <BR>&gt; Guess I wasn't clear =
enough.<BR>&gt;=20
  <BR>&gt;=20
  =
/phpMyAdmin/main.php?lang=3Dzh-tw&amp;convcharset=3Diso-8859-1&amp;server=
=3D1&nbsp;&nbsp;=20
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method=20
  1:&nbsp;&nbsp;&nbsp; 3967=20
  Bytes<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method=20
  2:&nbsp;&nbsp;&nbsp; 3097 Bytes<BR>&gt; <BR>&gt; If you disable Output =

  Buffering AND zlib_compression, how large are <BR>&gt; these =
files?<BR>&gt;=20
  <BR>&gt; The point I was trying to make was that PHP is compressing =
these=20
  files <BR>&gt; BEFORE they are processed by mod_gzip. When mod_gzip =
sees that=20
  they have <BR>&gt; already been compressed once -- using the native =
PHP=20
  compression -- it <BR>&gt; does not attempt to compress the output a =
second=20
  time.<BR>&gt; <BR>&gt; In fact, if mod_gzip attempted to compress the =
output=20
  after it had <BR>&gt; already been compressed the result would be a =
larger=20
  file, as <BR>&gt; compressing compressed files is a big no-no.<BR>&gt; =

  <BR>&gt; ---<BR>&gt; <BR>&gt; A side note: If you want all text output =
to be=20
  processed by mod_gzip, <BR>&gt; you need one simple line in the =
mod_gzip=20
  config:<BR>&gt; <BR>&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^text/.*$<BR>&gt; <BR>&gt; =
That will=20
  get rid of several lines in your mod_gzip config, and cover <BR>&gt; =
all files=20
  that use "text" in their MIME type.<BR>&gt; <BR>&gt; smp<BR>&gt; =
<BR>&gt;=20
  <BR>&gt; Jack Wang wrote:<BR>&gt; <BR>&gt;&gt; Hi Michael and=20
  Stephen,<BR>&gt;&gt;<BR>&gt;&gt; Thanks for your=20
  reply.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&gt; Hi=20
  all:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; PHP does have Content Compression =
built=20
  into it. I have an entire paper<BR>&gt;&gt;&gt; on PHP compression at =
<A=20
  =
href=3D"http://www.webcompression.org/php-compress.html">http://www.webco=
mpression.org/php-compress.html</A>.<BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&=
gt;<BR>&gt;&gt;=20
  Thanks.&nbsp; I have read it. Very=20
  good.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&gt; Three lines in the =
php.ini file=20
  that you need to be concerned about:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; =
Method=20
  1:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; output_buffering =3D =
On<BR>&gt;&gt;&gt;=20
  output_handler =3D ob_gzhandler<BR>&gt;&gt;&gt; =
zlib.output_compression =3D=20
  Off<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Here is the result =
status=20
  by method 1;<BR>&gt;&gt;<BR>&gt;&gt; A) GET /liwen/index.htm HTTP/1.1" =
200 808=20
  mod_gzip: OK In:572 -&lt; <BR>&gt;&gt; Out:380 =3D<BR>&gt;&gt; 34=20
  pct.<BR>&gt;&gt;<BR>&gt;&gt; B) GET =
/index.php?file=3Dcompany/contact.html=20
  HTTP/1.1" 200 17993 =
mod_gzip:<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  SEND_AS_IS:HAS_CE In:0 -&lt; Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt; =
C) GET=20
  /liwen/php/mail.php HTTP/1.1" 200 818 mod_gzip: =
SEND_AS_IS:HAS_CE<BR>&gt;&gt;=20
  In:0 -&lt; Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt; D) GET=20
  =
/phpMyAdmin/main.php?lang=3Dzh-tw&amp;convcharset=3Diso-8859-1&amp;server=
=3D1<BR>&gt;&gt;=20
  HTTP/1.1"<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200 3967 mod_gzip: =

  SEND_AS_IS:HAS_CE In:0 -&lt; Out:0 =3D 0=20
  pct.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&gt; Method=20
  2:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; output_buffering =3D =
Off<BR>&gt;&gt;&gt;=20
  output_handler =3D<BR>&gt;&gt;&gt; zlib.output_compression =3D=20
  On<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Here is the result =
staus by=20
  method 2;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp; A) GET /liwen/index.htm =
HTTP/1.1" 200=20
  - mod_gzip: =
SEND_AS_IS:NO_200<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  In:0 -&lt; Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt;&nbsp; B) GET=20
  /index.php?file=3Dcompany/contact.html HTTP/1.1" 200 18263 =
<BR>&gt;&gt;=20
  mod_gzip:<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
SEND_AS_IS:HAS_CE=20
  In:0 -&lt; Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt;&nbsp; C) GET=20
  /liwen/php/mail.php HTTP/1.1" 200 818 mod_gzip:=20
  SEND_AS_IS:HAS_CE<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In:0 =
-&lt;=20
  Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt;&nbsp; D) GET=20
  =
/phpMyAdmin/main.php?lang=3Dzh-tw&amp;convcharset=3Diso-8859-1&amp;server=
=3D1<BR>&gt;&gt;=20
  HTTP/1.1"<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200 4079 =
mod_gzip:=20
  SEND_AS_IS:HAS_CE In:0 -&lt; Out:0 =3D 0 pct.<BR>&gt;&gt;<BR>&gt;&gt;=20
  Transparently, Gzip didn't compress PHP code by Method 1 and 2.&nbsp; =
BTW,=20
  <BR>&gt;&gt; Gzip<BR>&gt;&gt; didn't compress HTM by Method 2 (Method=20
  2A).<BR>&gt;&gt;<BR>&gt;&gt; Here is my part of=20
  mod_gzip.conf.<BR>&gt;&gt;<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.html$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.htm$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.php$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.php3$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.txt$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.pdf$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [^.]*$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.js$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.css$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \.pl$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  handler&nbsp;&nbsp;&nbsp; ^cgi-script$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  handler&nbsp;&nbsp;&nbsp; ^perl-script$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^text/html$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^text/plain$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^application/pdf$<BR>&gt;&gt; =

  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
^httpd/unix-directory$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
^application/postscript$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
^application/ms.*$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
^application/vnd.$<BR>&gt;&gt;=20
  mod_gzip_item_include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
^application/x-httpd-php$<BR>&gt;&gt;=20
  mod_gzip_item_exclude&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  ^application/x-javascript$<BR>&gt;&gt;=20
  mod_gzip_item_exclude&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^image/.*$<BR>&gt;&gt;=20
  =
mod_gzip_dechunk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
  Yes<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Might my configuration be =
wrong ?! Any=20
  comment ? Thanks in advance.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&gt; =
In your=20
  case, setting "output_buffering =3D Off" will turn off the =
PHP<BR>&gt;&gt;&gt;=20
  compression.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I handle all compression =
through=20
  mod_deflate/mod_gzip, but there is<BR>&gt;&gt;&gt; NOTHING wrong with =
PHP=20
  handling compression for PHP files. It just means<BR>&gt;&gt;&gt; that =

  mod_deflate/mod_gzip doesn't NEED to compress the=20
  data.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Just my two cents=20
  worth.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; =
smp<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; <A=20
  =
href=3D"mailto:Michael.Schroepl@telekurs.de">Michael.Schroepl@telekurs.de=
</A>=20
  wrote:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Hi=20
  =
Jack,<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;=
&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;=20
  output_handler =3D=20
  =
ob_gzhandler<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<=
BR>&gt;&gt;&gt;&gt;=20
  this one is known to provide gzip compression for =
PHP<BR>&gt;&gt;&gt;&gt;=20
  scripts - but don't ask me how to configure or =
even<BR>&gt;&gt;&gt;&gt;=20
  disable it.<BR>&gt;&gt;&gt;&gt; As Kevin pointed out, you may want to =
comment=20
  this=20
  =
out.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&=
gt;&gt;&gt;&gt;=20
  PS: I have enabled Zend=20
  =
Opertmizer.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<B=
R>&gt;&gt;&gt;&gt;=20
  Heureka.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Please=20
  read<BR>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; <A=20
  =
href=3D"http://www.zend.com/zend/art/buffering.php">http://www.zend.com/z=
end/art/buffering.php</A><BR>&gt;&gt;&gt;&gt;=20
  where Zend documents their procedure how to serve =
PHP<BR>&gt;&gt;&gt;&gt;=20
  output in compressed form. (Unfortunately, they =
don't<BR>&gt;&gt;&gt;&gt; use=20
  link targets inside their documents=20
  ...)<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; You don't have any =
problem at=20
  all, except for not reading<BR>&gt;&gt;&gt;&gt; the documentation of =
the suite=20
  of software that you are<BR>&gt;&gt;&gt;&gt; using (which=20
  includes<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; <A=20
  =
href=3D"http://www.schroepl.net/projekte/mod_gzip/status.htm#SEND_AS_IS:H=
AS_CE">http://www.schroepl.net/projekte/mod_gzip/status.htm#SEND_AS_IS:HA=
S_CE</A><BR>&gt;&gt;<BR>&gt;&gt;&gt;&gt;=20
  as well), and thus wondering what their diagnostic =
output<BR>&gt;&gt;&gt;&gt;=20
  means.<BR>&gt;&gt;&gt;&gt; After all, who cares which of your modules =
actually=20
  does<BR>&gt;&gt;&gt;&gt; the compression, as long as any one does=20
  it?<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Regards,=20
  =
Michael<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&g=
t;&gt;&gt;&gt;=20
  P.S.: It took me about 30 seconds to ask Google=20
  =
for<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
  "Zend gzip"; the above link is the _first_=20
  hit.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;=20
  _______________________________________________<BR>&gt;&gt;&gt;&gt; =
mod_gzip=20
  mailing list<BR>&gt;&gt;&gt;&gt; <A=20
  =
href=3D"mailto:mod_gzip@lists.over.net">mod_gzip@lists.over.net</A><BR>&g=
t;&gt;&gt;&gt;=20
  <A=20
  =
href=3D"http://lists.over.net/mailman/listinfo/mod_gzip">http://lists.ove=
r.net/mailman/listinfo/mod_gzip</A><BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&g=
t;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;=20
  -- <BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; =
****<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;=20
  Stephen Pierzchala<BR>&gt;&gt;&gt; <A=20
  =
href=3D"mailto:stephen@pierzchala.com">stephen@pierzchala.com</A><BR>&gt;=
&gt;&gt;=20
  <A=20
  =
href=3D"http://www.performanceguru.com/">http://www.performanceguru.com/<=
/A><BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;=20
  _______________________________________________<BR>&gt;&gt;&gt; =
mod_gzip=20
  mailing list<BR>&gt;&gt;&gt; <A=20
  =
href=3D"mailto:mod_gzip@lists.over.net">mod_gzip@lists.over.net</A><BR>&g=
t;&gt;&gt;=20
  <A=20
  =
href=3D"http://lists.over.net/mailman/listinfo/mod_gzip">http://lists.ove=
r.net/mailman/listinfo/mod_gzip</A><BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&g=
t;<BR>&gt;&gt;=20
  _______________________________________________<BR>&gt;&gt; mod_gzip =
mailing=20
  list<BR>&gt;&gt; <A=20
  =
href=3D"mailto:mod_gzip@lists.over.net">mod_gzip@lists.over.net</A><BR>&g=
t;&gt;=20
  <A=20
  =
href=3D"http://lists.over.net/mailman/listinfo/mod_gzip">http://lists.ove=
r.net/mailman/listinfo/mod_gzip</A><BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<B=
R>&gt;=20
  <BR><BR>-- <BR><BR>****<BR><BR>Stephen Pierzchala<BR><A=20
  =
href=3D"mailto:stephen@pierzchala.com">stephen@pierzchala.com</A><BR><A=20
  =
href=3D"http://www.performanceguru.com/">http://www.performanceguru.com/<=
/A><BR><BR>_______________________________________________<BR>mod_gzip=20
  mailing list<BR><A=20
  =
href=3D"mailto:mod_gzip@lists.over.net">mod_gzip@lists.over.net</A><BR><A=
=20
  =
href=3D"http://lists.over.net/mailman/listinfo/mod_gzip">http://lists.ove=
r.net/mailman/listinfo/mod_gzip</A><BR></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0028_01C313B8.D20E7960--