Re: Building mod_perl and mod_jserv into same apache

2000-08-21 Thread Leslie Mikesell

According to Stas Bekman:
> On Mon, 21 Aug 2000, Jeff Warner wrote:
> 
> > We need to have mod_perl and mod_jserv in the same httpd file.  I can build
> > apache 1.3.9 for either mod_perl or mod_jserv using the appropriate make
> > commands from the install docs and they work fine.
> > 
> > I've tried to build a mod_perl httpd and then use
> > ./configure \
> > --prefix=/usr/local/apache \
> > --activate-module=src/modules/jserv/libjserv.a
> > 
> > on a apache build but then I get a mod_jserv httpd and mod_perl is gone.
> > If I try to activate-module for both mod_perl and mod_jserv I get a lot of
> > mod_perl errors.  Suggestions would be appreciated.
> 
> http://perl.apache.org/guide/install.html#Installation_Scenarios_for_mod_p
> 
> I think it should be easy to apply these notes to your case.

It does work to build them together, but if you are using the
two-apache scheme it makes more sense to put jserv in the
front end.  Apache uses a proxy-like mechanism to pass the
requests on to the jserv running in a separate process.  It
doesn't make much sense to have the larger mod_perl httpd
waiting for the responses.

  Les Mikesell
[EMAIL PROTECTED]



Re: Building mod_perl and mod_jserv into same apache

2000-08-21 Thread Stas Bekman

On Mon, 21 Aug 2000, Jeff Warner wrote:

>   We need to have mod_perl and mod_jserv in the same httpd file.  I can build
> apache 1.3.9 for either mod_perl or mod_jserv using the appropriate make
> commands from the install docs and they work fine.
> 
>   I've tried to build a mod_perl httpd and then use
>   ./configure \
>   --prefix=/usr/local/apache \
>   --activate-module=src/modules/jserv/libjserv.a
> 
>   on a apache build but then I get a mod_jserv httpd and mod_perl is gone.
> If I try to activate-module for both mod_perl and mod_jserv I get a lot of
> mod_perl errors.  Suggestions would be appreciated.

http://perl.apache.org/guide/install.html#Installation_Scenarios_for_mod_p

I think it should be easy to apply these notes to your case.


_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://jazzvalley.com
http://singlesheaven.com http://perlmonth.com   perl.org   apache.org





RE: Building mod_perl and mod_jserv into same apache

2000-08-21 Thread Carlos Ramirez

You have to activate both modules in order to build them into
apache. I've built both together successfully. Your description
suggests that your problem exists on the mod_perl side. What errors are you getting on 
the mod_perl side?



--Original Message--
From: "Jeff Warner" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: August 21, 2000 6:56:18 PM GMT
Subject: Building mod_perl and mod_jserv into same apache


We need to have mod_perl and mod_jserv in the same httpd file.  I can build
apache 1.3.9 for either mod_perl or mod_jserv using the appropriate make
commands from the install docs and they work fine.

I've tried to build a mod_perl httpd and then use
./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/jserv/libjserv.a

on a apache build but then I get a mod_jserv httpd and mod_perl is gone.
If I try to activate-module for both mod_perl and mod_jserv I get a lot of
mod_perl errors.  Suggestions would be appreciated.

Jeff