You could also run separate instances of the httpd binary with different
configs telling them what ip/port to bind/listen to...then run the server
as that user...

not very efficient for a lot of users, but it would work for a small set.

On Wed, 9 Jan 2002, Rich Buggy wrote:

>
> > if I define 'user' in virtualhost section of apache's httpd.conf, then my
> > cgi scripts will be running as 'user' if suexec has been set up correctly.
> > It's okay. But how can I tell apache to run the whole virtualhost as
> > 'user'? Including accessing html files, and especially php.
>
>   In 1.3 you can't. Last I heard version 2 was supposed to include something
> that would let you do this.
>
> > Is it possible somehow? Having read the apache docs, I haven't found
> > anything useful, but there must be a solution if I don't want my users to
> > run php scripts as www-data.
>
>   Run PHP as a cgi instead of a module. The PHP docs tell you how
>
>      Rich
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to