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:25:44 -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_01C26BE4.3CC59A36
Content-Type: text/plain;
	charset="iso-8859-1"

Forgive me, I just realized that <IfModule> accomplishes basically the same
thing as AddModule, and commenting out the AddModule solved my problem.

Ian.


-----Original Message-----
From: Zabel, Ian [mailto:IZabel@cirqit.com]
Sent: Friday, October 04, 2002 4:20 PM
To: 'mod_gzip@lists.over.net'
Subject: RE: Antwort: RE: Antwort: [Mod_gzip] Apache 1.3.23 + mod_gzip 1.3
.19 .1a + Cold FusionMX


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_01C26BE4.3CC59A36
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>Forgive me, I just realized that &lt;IfModule&gt; =
accomplishes basically the same thing as AddModule, and commenting out =
the AddModule solved my problem.</FONT></P>

<P><FONT SIZE=3D2>Ian.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Zabel, Ian [<A =
HREF=3D"mailto:IZabel@cirqit.com">mailto:IZabel@cirqit.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, October 04, 2002 4:20 PM</FONT>
<BR><FONT SIZE=3D2>To: 'mod_gzip@lists.over.net'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: Antwort: RE: Antwort: [Mod_gzip] Apache =
1.3.23 + mod_gzip 1.3 .19 .1a + Cold FusionMX</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Michael, </FONT>
<BR><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>
<BR><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&nbsp; 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>
<BR><FONT SIZE=3D2>My httpd.conf now looks like this: </FONT>
<BR><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>&lt;IfModule mod_jrun.c&gt; </FONT>
<BR><FONT SIZE=3D2>...snip... </FONT>
<BR><FONT SIZE=3D2>&lt;/IfModule&gt; </FONT>
<BR><FONT SIZE=3D2>LoadModule =
gzip_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
modules/mod_gzip.so </FONT>
<BR><FONT SIZE=3D2>AddModule mod_gzip.c </FONT>
<BR><FONT SIZE=3D2>&lt;IfModule mod_gzip.c&gt; </FONT>
<BR><FONT SIZE=3D2>...snip... </FONT>
<BR><FONT SIZE=3D2>&lt;/IfModule&gt; </FONT>
<BR><FONT SIZE=3D2>Should I just go RTFM? </FONT>
<BR><FONT SIZE=3D2>haha </FONT>
<BR><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>&gt;In which order are you loading your modules? =
</FONT>
<BR><FONT SIZE=3D2>&gt; LoadModule =
gzip_module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
modules/mod_gzip.so </FONT>
<BR><FONT SIZE=3D2>&gt; ...snip... </FONT>
<BR><FONT SIZE=3D2>&gt; ClearModuleList </FONT>
<BR><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>
<BR><FONT SIZE=3D2>&gt; AddModule mod_gzip.c </FONT>
<BR><FONT SIZE=3D2>Ah - this one is the first ... </FONT>
<BR><FONT SIZE=3D2>&gt; ...snip... </FONT>
<BR><FONT SIZE=3D2>&gt; # ColdFusionMX Settings </FONT>
<BR><FONT SIZE=3D2>&gt; LoadModule jrun_module </FONT>
<BR><FONT SIZE=3D2>/usr/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so =
</FONT>
<BR><FONT SIZE=3D2>... and this one is the second. This cannot work. =
</FONT>
<BR><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>
<BR><FONT SIZE=3D2>&gt; I am still not quite sure how to output MIME =
type in the log. </FONT>
<BR><FONT SIZE=3D2>&gt; What parameters would I pass to the LogFormat =
directive to enable this? </FONT>
<BR><FONT SIZE=3D2>%{Content-type}o </FONT>
<BR><FONT SIZE=3D2>as described in </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; <A =
HREF=3D"http://www.schroepl.net/projekte/mgzta/collect.html" =
TARGET=3D"_blank">http://www.schroepl.net/projekte/mgzta/collect.html</A=
> </FONT>
<BR><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> =
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C26BE4.3CC59A36--