Antwort: RE: Antwort: [Mod_gzip] Apache 1.3.23 + mod_gzip 1.3
.19 .1a + Cold FusionMX
Zabel, Ian
mod_gzip@lists.over.net
Fri, 4 Oct 2002 16:19:30 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C26BE3.5A3CAACE
Content-Type: text/plain;
charset="iso-8859-1"
Michael,
Thanks, I got it working! I moved the directives for the mod_gzip below the
mod_jrun stuff, and all is well.
I will need to do a little more research on the LoadModule/AddModule
directives, through, because I don't really understand in what order they
are needed.
Upon startup, I am now getting this message: [Fri Oct 4 16:14:09 2002]
[warn] module mod_gzip.c is already added, skipping
So, I'm sure I have something still slightly misconfigured.
My httpd.conf now looks like this:
# JRun Settings
LoadModule jrun_module /usr/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so
<IfModule mod_jrun.c>
...snip...
</IfModule>
LoadModule gzip_module modules/mod_gzip.so
AddModule mod_gzip.c
<IfModule mod_gzip.c>
...snip...
</IfModule>
Should I just go RTFM?
haha
Ian.
-----Original Message-----
From: Michael.Schroepl@telekurs.de [mailto:Michael.Schroepl@telekurs.de]
Sent: Friday, October 04, 2002 2:58 PM
To: mod_gzip@lists.over.net
Subject: Antwort: RE: Antwort: [Mod_gzip] Apache 1.3.23 + mod_gzip
1.3.19 .1a + Cold FusionMX
Hi Ian,
>In which order are you loading your modules?
> LoadModule gzip_module modules/mod_gzip.so
> ...snip...
> ClearModuleList
Nice. You have loaded all the modules, now you clear the
module list and lose everything you have done so far. ;-)
> AddModule mod_gzip.c
Ah - this one is the first ...
> ...snip...
> # ColdFusionMX Settings
> LoadModule jrun_module
/usr/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so
... and this one is the second. This cannot work.
Turn around this order of directives. Make mod_gzip being
the _last_ module being added, so that it will be the first
one to have access to a request - even before ColdFusion.
> I am still not quite sure how to output MIME type in the log.
> What parameters would I pass to the LogFormat directive to enable this?
%{Content-type}o
as described in
http://www.schroepl.net/projekte/mgzta/collect.html
Regards, Michael
_______________________________________________
mod_gzip mailing list
mod_gzip@lists.over.net
http://lists.over.net/mailman/listinfo/mod_gzip
------_=_NextPart_001_01C26BE3.5A3CAACE
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Antwort: RE: Antwort: [Mod_gzip] Apache 1.3.23 + mod_gzip =
1.3.19 .1a + Cold FusionMX</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Michael,</FONT>
</P>
<P><FONT SIZE=3D2>Thanks, I got it working! I moved the directives for =
the mod_gzip below the mod_jrun stuff, and all is well.</FONT>
</P>
<P><FONT SIZE=3D2>I will need to do a little more research on the =
LoadModule/AddModule directives, through, because I don't really =
understand in what order they are needed.</FONT></P>
<P><FONT SIZE=3D2>Upon startup, I am now getting this message: [Fri =
Oct 4 16:14:09 2002] [warn] module mod_gzip.c is already added, =
skipping</FONT></P>
<P><FONT SIZE=3D2>So, I'm sure I have something still slightly =
misconfigured.</FONT>
</P>
<P><FONT SIZE=3D2>My httpd.conf now looks like this:</FONT>
</P>
<P><FONT SIZE=3D2># JRun Settings</FONT>
<BR><FONT SIZE=3D2>LoadModule jrun_module =
/usr/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so</FONT>
<BR><FONT SIZE=3D2><IfModule mod_jrun.c></FONT>
<BR><FONT SIZE=3D2>...snip...</FONT>
<BR><FONT SIZE=3D2></IfModule></FONT>
</P>
<P><FONT SIZE=3D2>LoadModule =
gzip_module =
modules/mod_gzip.so</FONT>
<BR><FONT SIZE=3D2>AddModule mod_gzip.c</FONT>
<BR><FONT SIZE=3D2><IfModule mod_gzip.c></FONT>
<BR><FONT SIZE=3D2>...snip...</FONT>
<BR><FONT SIZE=3D2></IfModule></FONT>
</P>
<P><FONT SIZE=3D2>Should I just go RTFM?</FONT>
<BR><FONT SIZE=3D2>haha</FONT>
</P>
<P><FONT SIZE=3D2>Ian.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Michael.Schroepl@telekurs.de [<A =
HREF=3D"mailto:Michael.Schroepl@telekurs.de">mailto:Michael.Schroepl@tel=
ekurs.de</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, October 04, 2002 2:58 PM</FONT>
<BR><FONT SIZE=3D2>To: mod_gzip@lists.over.net</FONT>
<BR><FONT SIZE=3D2>Subject: Antwort: RE: Antwort: [Mod_gzip] Apache =
1.3.23 + mod_gzip</FONT>
<BR><FONT SIZE=3D2>1.3.19 .1a + Cold FusionMX</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>Hi Ian,</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>>In which order are you loading your =
modules?</FONT>
</P>
<P><FONT SIZE=3D2>> LoadModule =
gzip_module =
modules/mod_gzip.so</FONT>
<BR><FONT SIZE=3D2>> ...snip...</FONT>
<BR><FONT SIZE=3D2>> ClearModuleList</FONT>
</P>
<P><FONT SIZE=3D2>Nice. You have loaded all the modules, now you clear =
the</FONT>
<BR><FONT SIZE=3D2>module list and lose everything you have done so =
far. ;-)</FONT>
</P>
<P><FONT SIZE=3D2>> AddModule mod_gzip.c</FONT>
</P>
<P><FONT SIZE=3D2>Ah - this one is the first ...</FONT>
</P>
<P><FONT SIZE=3D2>> ...snip...</FONT>
<BR><FONT SIZE=3D2>> # ColdFusionMX Settings</FONT>
<BR><FONT SIZE=3D2>> LoadModule jrun_module</FONT>
<BR><FONT =
SIZE=3D2>/usr/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so</FONT>
</P>
<P><FONT SIZE=3D2>... and this one is the second. This cannot =
work.</FONT>
</P>
<P><FONT SIZE=3D2>Turn around this order of directives. Make mod_gzip =
being</FONT>
<BR><FONT SIZE=3D2>the _last_ module being added, so that it will be =
the first</FONT>
<BR><FONT SIZE=3D2>one to have access to a request - even before =
ColdFusion.</FONT>
</P>
<P><FONT SIZE=3D2>> I am still not quite sure how to output MIME =
type in the log.</FONT>
<BR><FONT SIZE=3D2>> What parameters would I pass to the LogFormat =
directive to enable this?</FONT>
</P>
<P><FONT SIZE=3D2>%{Content-type}o</FONT>
</P>
<P><FONT SIZE=3D2>as described in</FONT>
<BR><FONT SIZE=3D2> <A =
HREF=3D"http://www.schroepl.net/projekte/mgzta/collect.html" =
TARGET=3D"_blank">http://www.schroepl.net/projekte/mgzta/collect.html</A=
></FONT>
</P>
<P><FONT SIZE=3D2>Regards, Michael</FONT>
</P>
<BR>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>mod_gzip mailing list</FONT>
<BR><FONT SIZE=3D2>mod_gzip@lists.over.net</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.over.net/mailman/listinfo/mod_gzip" =
TARGET=3D"_blank">http://lists.over.net/mailman/listinfo/mod_gzip</A></F=
ONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C26BE3.5A3CAACE--