[Mod_gzip] Problem: index.htm? is compressed, but index.htm not
Kirchlechner
mod_gzip@lists.over.net
Tue, 14 Oct 2003 15:32:38 +0200
--=====_106613835811721=_
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi everybody,
if I open the site http://www.xyz.de/index.htm, mod_gzip doesn't deliver=
compressed output.
But if I put a "?" at the end of the URL (http://www.xyz.de/index.htm?),=
everything works fine.
I have the same problem with php-Scripts.
Whem I'm checking the mod_gzip-log, everthing seems fine:
62.180.109.52 - - [14/Oct/2003:15:21:38 +0200] "www.xyz.de GET /index.htm?=
HTTP/1.1" 200 15606 mod_gzip: OK In:90037 -< Out:15606 =3D 83 Prozent.
62.180.109.52 - - [14/Oct/2003:15:22:32 +0200] "www.xyz.de GET /index.htm=
HTTP/1.1" 200 15641 mod_gzip: OK In:90088 -< Out:15641 =3D 83 Prozent.
But checking the filesize in IE 6.0 / NS 7 shows the same (uncompressed)=
size for both URLs.
Server is Apache/1.3.28 (Unix) mod_gzip/1.3.26.1a PHP/4.3.1 mod_ssl/2.8.15=
OpenSSL/0.9.6g on SuSE-Linux 7.1
Here is my mod_zip-config:
---------------------------------
# Start mod_gzip
mod_gzip_on Yes
mod_gzip_can_negotiate Yes
mod_gzip_update_static No
mod_gzip_keep_workfiles No
mod_gzip_min_http 1000
mod_gzip_minimum_file_size 1000
mod_gzip_maximum_file_size 500000
mod_gzip_maximum_inmem_size 0
mod_gzip_item_exclude file \.js$
mod_gzip_item_exclude file \.jphp$
mod_gzip_item_exclude file \.css$
mod_gzip_item_exclude mime ^image/
mod_gzip_item_include mime ^text/html$
mod_gzip_item_include mime ^text/plain$
mod_gzip_item_include mime application/x-httpd-php.*
mod_gzip_item_include mime "application/x-httpd-php.*"
mod_gzip_item_include file \.php3.*
mod_gzip_item_include file \.php3$
mod_gzip_item_include file \.htm$
mod_gzip_item_include file \.html$
mod_gzip_item_include file ^.*\.php.*$
mod_gzip_dechunk Yes
mod_gzip_send_vary Yes
LogFormat "%h %l %u %t \"%V %r\" %s %<s %b mod_gzip: %{mod_gzip_result}n=
In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n =3D=
%{mod_gzip_compression_ratio}n Prozent." common_gzip
CustomLog /var/log/mod_gzip.log common_gzip
# Ende mod_gzip
-----------------------------
I've tried a lot of possibilities for mod_gzip_item_include, but no effort.
Any ideas?
Stephan Kirchlechner
--=====_106613835811721=_
Content-Type: text/html; charset="us-ascii"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY style="FONT-FAMILY: Arial" text=#000000 bgColor=#ffffff>
<DIV><FONT size=2>Hi everybody,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>if I open the site <A
href="http://www.xyz.de/index.htm">http://www.xyz.de/index.htm</A>, mod_gzip
doesn't deliver compressed output.</FONT></DIV>
<DIV><FONT size=2>But if I put a "?" at the end of the URL (<A
href="http://www.xyz.de/index.htm">http://www.xyz.de/index.htm</A>?), everything
works fine.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have the same problem with php-Scripts.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Whem I'm checking the mod_gzip-log, everthing seems
fine:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>62.180.109.52 - - [14/Oct/2003:15:21:38 +0200] "<A
href="http://www.xyz.de">www.xyz.de</A> GET /index.htm? HTTP/1.1" 200 15606
mod_gzip: OK In:90037 -< Out:15606 = 83 Prozent.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>62.180.109.52 - - [14/Oct/2003:15:22:32 +0200] "<A
href="http://www.xyz.de">www.xyz.de</A> GET /index.htm HTTP/1.1" 200 15641
mod_gzip: OK In:90088 -< Out:15641 = 83 Prozent.</FONT></DIV>
<DIV><FONT face="Courier Neu" size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2>But checking the filesize in IE 6.0 / NS
7 shows the same (uncompressed) size for both URLs.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Server is Apache/1.3.28 (Unix) mod_gzip/1.3.26.1a PHP/4.3.1
mod_ssl/2.8.15 OpenSSL/0.9.6g on SuSE-Linux 7.1</FONT></DIV>
<DIV><FONT size=2></FONT><FONT face="Courier Neu" size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2>Here is my mod_zip-config:</FONT></DIV>
<DIV><FONT face="Courier Neu"
size=2>---------------------------------</FONT></DIV>
<DIV><FONT face="Courier Neu" size=2># Start
mod_gzip<BR>mod_gzip_on
Yes<BR>mod_gzip_can_negotiate Yes<BR>mod_gzip_update_static No<BR>mod_gzip_keep_workfiles
No<BR>mod_gzip_min_http
1000<BR>mod_gzip_minimum_file_size
1000<BR>mod_gzip_maximum_file_size
500000<BR>mod_gzip_maximum_inmem_size 0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier Neu" size=2>mod_gzip_item_exclude
file \.js$<BR>mod_gzip_item_exclude
file \.jphp$<BR>mod_gzip_item_exclude
file \.css$<BR>mod_gzip_item_exclude
mime ^image/</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier Neu" size=2>mod_gzip_item_include
mime ^text/html$<BR>mod_gzip_item_include
mime ^text/plain$<BR>mod_gzip_item_include
mime
application/x-httpd-php.*<BR>mod_gzip_item_include
mime "application/x-httpd-php.*"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier Neu" size=2>mod_gzip_item_include
file \.php3.*<BR>mod_gzip_item_include
file \.php3$<BR>mod_gzip_item_include
file \.htm$<BR>mod_gzip_item_include
file \.html$<BR>mod_gzip_item_include
file ^.*\.php.*$</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier Neu"
size=2>mod_gzip_dechunk
Yes<BR>mod_gzip_send_vary Yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier Neu" size=2>LogFormat "%h %l %u %t \"%V %r\" %s
%<s %b mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n -<
Out:%{mod_gzip_output_size}n = %{mod_gzip_compression_ratio}n Prozent."
common_gzip<BR>CustomLog /var/log/mod_gzip.log common_gzip<BR># Ende
mod_gzip</FONT></DIV>
<DIV><FONT face="Courier Neu" size=2>-----------------------------</FONT></DIV>
<DIV><FONT face="Courier Neu" size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2>I've tried a lot of possibilities for
mod_gzip_item_include, but no effort.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any ideas?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Stephan Kirchlechner</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2></FONT> </DIV>
<DIV><FONT face="Courier Neu" size=2> </DIV></FONT></BODY></HTML>
--=====_106613835811721=_--