Re: user privileges with php (like with suexec)

2001-06-12 Thread Nathan E Norman
On Tue, Jun 12, 2001 at 12:12:13PM +0200, Marcel Hicking wrote: > On 12 Jun 2001, at 1:21, Jeremy Lunn wrote: > > > I am wondering what is the best way to get simular results > > to suexec with php? > > > > I've heard of people running seperate instances of apache > > for each client. Is that li

Re: user privileges with php (like with suexec)

2001-06-12 Thread Nathan E Norman
On Tue, Jun 12, 2001 at 12:12:13PM +0200, Marcel Hicking wrote: > On 12 Jun 2001, at 1:21, Jeremy Lunn wrote: > > > I am wondering what is the best way to get simular results > > to suexec with php? > > > > I've heard of people running seperate instances of apache > > for each client. Is that l

Re: user privileges with php (like with suexec)

2001-06-12 Thread Marcel Hicking
On 12 Jun 2001, at 19:52, Jeremy Lunn wrote: > On Tue, Jun 12, 2001 at 11:37:38AM +0200, Marcel Hicking > wrote: > Unfortunatelly you cannot set user/group in your > apache > config within a virtual host. The user/group > directives > once again will only affect cgi programs when > set for vhosts.

Re: user privileges with php (like with suexec)

2001-06-12 Thread Marcel Hicking
On 12 Jun 2001, at 1:21, Jeremy Lunn wrote: > I am wondering what is the best way to get simular results > to suexec with php? > > I've heard of people running seperate instances of apache > for each client. Is that likely to be a messy solution? > how much overhead would each instance be? You w

Re: user privileges with php (like with suexec)

2001-06-12 Thread Marcel Hicking
On 12 Jun 2001, at 19:52, Jeremy Lunn wrote: > On Tue, Jun 12, 2001 at 11:37:38AM +0200, Marcel Hicking > wrote: > Unfortunatelly you cannot set user/group in your > apache > config within a virtual host. The user/group > directives > once again will only affect cgi programs when > set for vhosts

Re: user privileges with php (like with suexec)

2001-06-12 Thread Marcel Hicking
On 12 Jun 2001, at 1:21, Jeremy Lunn wrote: > I am wondering what is the best way to get simular results > to suexec with php? > > I've heard of people running seperate instances of apache > for each client. Is that likely to be a messy solution? > how much overhead would each instance be? You

Re: user privileges with php (like with suexec)

2001-06-11 Thread Vasil Kolev
>From all the discussions here, ot looks like that the only way to use php with suexec is to use it as parser for cgi programs. The webserver himself cannot change UID, because it's running under some normal user ( who will be that crazy to run it as root? ). The only way I see, is some mechanism

Re: user privileges with php (like with suexec)

2001-06-11 Thread Jason Lim
Hi, This is also something that I've been looking into too, with no success yet. If you find something, let me know and I'll do the same! :-) Sincerely, Jason - Original Message - From: "Jeremy Lunn" <[EMAIL PROTECTED]> To: Sent: Monday, June 11, 2001 11:21 PM Subject: user privileges

Re: user privileges with php (like with suexec)

2001-06-11 Thread Eric Jennings
Probably not. If you're not using the CGI version of PHP, then you have to use the module version, and thus PHP will be joined at the hip with the Apache daemons and you're stuck w/ the user/group that Apache is running under. As you mentioned, the CGI version of PHP does not have this problem

Re: user privileges with php (like with suexec)

2001-06-11 Thread Vasil Kolev
>From all the discussions here, ot looks like that the only way to use php with suexec is to use it as parser for cgi programs. The webserver himself cannot change UID, because it's running under some normal user ( who will be that crazy to run it as root? ). The only way I see, is some mechanism

Re: user privileges with php (like with suexec)

2001-06-11 Thread Jason Lim
Hi, This is also something that I've been looking into too, with no success yet. If you find something, let me know and I'll do the same! :-) Sincerely, Jason - Original Message - From: "Jeremy Lunn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 11:21 PM Subje

Re: user privileges with php (like with suexec)

2001-06-11 Thread Eric Jennings
Probably not. If you're not using the CGI version of PHP, then you have to use the module version, and thus PHP will be joined at the hip with the Apache daemons and you're stuck w/ the user/group that Apache is running under. As you mentioned, the CGI version of PHP does not have this proble