[suPHP] Best configuration for virtual users

Jorge Bastos mysql.jorge at decimal.pt
Thu May 1 00:00:01 CEST 2008


Hi Wouter,

Can you provide that patch?

I get this when using suPHP_UserGroup #111 #111

---
[Wed Apr 30 22:57:56 2008] [error] [client 87.196.144.98] terminate called
after throwing an instance of 'suPHP::LookupException'
[Wed Apr 30 22:57:56 2008] [error] [client 87.196.144.98] Premature end of
script headers: id.phpx
---

And it's not about being using the php5-cli instead of the php5-cgi, if I
test with a system user it works.
So, can you provide your patch?


Jorge


> -----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