Re: Apache virtualhosts with different user

From: Date: Wed, 09 Jan 2002 04:41:35 +0000
Subject: Re: Apache virtualhosts with different user
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79858@lists.php.net to get a copy of this message
> 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

« previous php.general (#79858) next »