Hi,

This is the mod_webapp config that comes with Solaris.  I think I ran it
for about a day or two.

in httpd.conf the last line is:

include /etc/apache/tomcat.conf

tomcat.conf:

LoadModule webapp_module        libexec/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection        conn            warp    localhost:8008
WebAppDeploy            examples        conn    /examples/
# WebAppInfo      /webapp-info

So not much different from your file except for a trailing slash on
/examples/ .
They also comment out WebAppInfo by default for security reasons.

There is no ifmodule statement.  If you want to turn tomcat off you
comment out the include from httpd.conf.

-e


On Mon, 28 Jul 2003, J. Joe Wang wrote:

> Hi John,
>
> Thanks for the reply!
> Yeah, there is only one LoadModule/AddModule pair for mod_webapp.
> Here is the LoadModule/AddModule block in my httpd.conf.
>   LoadModule php4_module        libexec/libphp4.so
>   LoadModule webapp_module libexec/mod_webapp.so
>
>   AddModule mod_webapp.c
>
> The line 1035 is
>   <IfModule mod_webapp.c>
> The line 1036 is
>   WebAppConnection warpConn warp localhost:8008
> The line 1037 is
>   WebAppDeploy examples warpConn /examples
> The line 1038 is
>   WebAppInfo /webapp-info
> And the line 1039 (last line of httpd.conf)
>   </IfModule>
>
> If I remove line 1037 and 1038, then the apache can be started.
>
> Thanks!
>
>
>
> On Mon, 2003-07-28 at 10:42, John Turner wrote:
> > Are you sure there is only one LoadModule/AddModule pair for mod_webapp?
> >
> > What is on line 1037 of httpd.conf?
> >
> > John
> >
> > J. Joe Wang wrote:
> > > Dear all,
> > >
> > > I am trying to configure tomcat 4.0.4 with apache 1.3.26 on redhat 7.2.
> > > The installation of apache is a normal one. i.e. ./configure, make, make
> > > install. The installation of tomcat 4.0.4 is also a normal one. And I
> > > followed the install.txt come with webapp_module.
> > > i.e.
> > > (1)copy mod_webapp.so <apache directory>/libexec/.,
> > > (2)modified apache httpd.conf with LoadModule webapp_module
> > > libexec/mod_webapp.so and AddModule mod_webapp.c,
> > > (3)add
> > > <IfModule mod_webapp.c>
> > >     WebAppConnection warpConn warp localhost:8008
> > >     WebAppDeploy examples warpConn /examples
> > >     WebAppInfo /webapp-info
> > > </IfModule>
> > > to the end of httpd.conf.
> > >
> > > But when I tried to start the apache, it gave out a warn and couldn't be
> > > started.
> > > Here is the message.
> > > [warn] module mod_webapp.c is already added, skippingSyntax error on
> > > line 1037 of /usr/local/apache/conf/httpd.conf:
> > >
> > > Both of the WebAppDeploy examples warpConn /examples and WebAppInfo
> > > /webapp-info can give out this warn message. If I removed them, then the
> > > apache can be started.
> > >
> > > So can anybody help me out with this problem. I guess it is due to some
> > > mis-configuration, but I really have no idea what is wrong.
> > >
> > > Any information will be highly appreciated!
> > >
> > > Thanks,
> > > Joe
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to