You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nick De Decker <ni...@i-vision.be> on 2002/03/31 14:44:29 UTC

Compile error when using perchild mdm

Hello,

I'm trying to get apache 2.0.32 to work but i'm getting a compilation error
when i try to use the --with-mdm=perchild option.
I really need this feature because i want to serve different vhosts with
different usernames.

Here is the error i get :

Making all in server
make[1]: Entering directory `/work/nick/apache/httpd-2.0.32/server'
Making all in mpm
make[2]: Entering directory `/work/nick/apache/httpd-2.0.32/server/mpm'
Making all in perchild
make[3]: Entering directory
`/work/nick/apache/httpd-2.0.32/server/mpm/perchild'
make[4]: Entering directory
`/work/nick/apache/httpd-2.0.32/server/mpm/perchild'
/bin/sh
/work/nick/apache/httpd-2.0.32/srclib/apr/libtool --silent --mode=compil
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESI
GNAT
ache/httpd-2.0.32/os/unix -I/work/nick/apache/httpd-2.0.32/server/mpm/perchi
ld -
les/http -I/work/nick/apache/httpd-2.0.32/modules/proxy -I/work/nick/apache/
http
/httpd-2.0.32/srclib/apr/include -I/work/nick/apache/httpd-2.0.32/srclib/apr
-uti
2.0.32/modules/dav/main -I/work/nick/apache/httpd-2.0.32/srclib/apr-util/inc
lude
clib/apr-util/xml/expat/lib -prefer-non-pic -static -c perchild.c && touch
perch
perchild.c: In function `perchild_open_logs':
perchild.c:1436: `num_listensocks' undeclared (first use in this function)
perchild.c:1436: (Each undeclared identifier is reported only once
perchild.c:1436: for each function it appears in.)
perchild.c:1444: `pod' undeclared (first use in this function)
make[4]: *** [perchild.lo] Error 1
make[4]: Leaving directory
`/work/nick/apache/httpd-2.0.32/server/mpm/perchild'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/work/nick/apache/httpd-2.0.32/server/mpm/perchild'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/nick/apache/httpd-2.0.32/server/mpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/nick/apache/httpd-2.0.32/server'
make: *** [all-recursive] Error 1


I had a quick look at the code but i didn't find a quick solution .
Hope someone can help me.

Regards,
Nick



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compile error when using perchild mdm

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 31 Mar 2002, Nick De Decker wrote:

> Sorry, didn't see that line.
> however, isn't there another way with apache 2.0 to specify per vhost the
> username that apache will run under ?
> I would like that my php scripts are run by a different user per vhost, for
> security reasons.
> I cant afford to run php as cgi module.

When perchild works, it will do this (at the expense of considerable extra
overhead).  Other than that, you can use IP-virtual hosts and run each
separately with a separate config file.  This is much more feasible with
apache 2.0 because of the multi-threading.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compile error when using perchild mdm

Posted by Nick De Decker <ni...@i-vision.be>.
Sorry, didn't see that line.
however, isn't there another way with apache 2.0 to specify per vhost the
username that apache will run under ?
I would like that my php scripts are run by a different user per vhost, for
security reasons.
I cant afford to run php as cgi module.

Regards,
Nick


----- Original Message -----
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Sunday, March 31, 2002 4:53 PM
Subject: Re: Compile error when using perchild mdm


>
> On Sun, 31 Mar 2002, Nick De Decker wrote:
>
> > Hello,
> >
> > I'm trying to get apache 2.0.32 to work but i'm getting a compilation
error
> > when i try to use the --with-mdm=perchild option.
> > I really need this feature because i want to serve different vhosts with
> > different usernames.
> >
>
> See the bright pink part at the top of
> http://httpd.apache.org/docs-2.0/mod/perchild.html
>
> It will tell you that perchild does not currently work.  Unless you feel
> like getting heavily involved in its development, you shouldn't even be
> trying to use it at the moment.
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compile error when using perchild mdm

Posted by Joshua Slive <jo...@slive.ca>.
On Sun, 31 Mar 2002, Nick De Decker wrote:

> Hello,
>
> I'm trying to get apache 2.0.32 to work but i'm getting a compilation error
> when i try to use the --with-mdm=perchild option.
> I really need this feature because i want to serve different vhosts with
> different usernames.
>

See the bright pink part at the top of
http://httpd.apache.org/docs-2.0/mod/perchild.html

It will tell you that perchild does not currently work.  Unless you feel
like getting heavily involved in its development, you shouldn't even be
trying to use it at the moment.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org