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

Reply via email to