[suPHP] Best configuration for virtual users

Jorge Bastos mysql.jorge at decimal.pt
Thu May 1 13:14:31 CEST 2008


I searched for for mailling list and found this:

http://lists.marsching.com/pipermail/suphp/2004-February/000288.html

but the fact is that I compiled suphp with:

sh configure --with-apxs=/usr/bin/apxs2 --with-min-uid=5000
--with-min-gid=4901 --with-apache-user=www-data
--with-logfile=/var/log/suphp/suphp.log CPPFLAGS=-I/usr/include/apr-0
--sysconfdir=/etc/suphp --disable-checkuid --disable-checkgid
--with-setid-mode=paranoid --disable-checkpath

so checkuid and checkguid is there, unless the "suPHP_UserGroup" has to be
inside a ifmodule tag?




> -----Original Message-----
> From: Wouter de Jong [mailto:wouter at widexs.nl]
> Sent: quarta-feira, 30 de Abril de 2008 20:47
> To: Jorge Bastos
> Cc: suphp at lists.marsching.biz
> Subject: Re: [suPHP] Best configuration for virtual users
> 
> On Wed, Apr 30, 2008 at 06:31:57PM +0100, Jorge Bastos wrote:
> 
> Jorge,
> 
> > Guys!!!
> > How can i make this work with non-system users?
> 
> This feature has been available in suPHP since version 0.5.2
> based on my own patch for suPHP 0.5.1-pre1 of February 2004
> 
> After the rewrite of suPHP 0.6 in C++, it still works.
> Here the result of suPHP 0.6.3 :
> 
> [Wed Apr 30 20:20:36 2008] [info] Executing
> "/data/usr/14110/website/www.domain.tld/public_html/test.php" as UID
> 14110, GID 14110
> 
> Where my httpd.conf contains :
> 
> <IfModule mod_suphp.c>
>     suPHP_UserGroup #14110 #14110
> </IfModule>
> 
> Above is with paranoid mode, on FreeBSD 6.x with Apache 2.x
> 
> What error do you get in the suPHP logfile when you try to execute it
> with #uid ?
> 
> > Jorge
> 
> 
> Regards,
> 
> Wouter
> 
> --
> WideXS                          http://www.widexs.nl
> Wouter de Jong                  Hosting Architect
> Tel +31 (0)20 7570700           Fax +31 (0)20 7570799
> Zekeringstraat 43,		1014 BV Amsterdam, NL




More information about the suPHP mailing list