Apache virtualhosts with different user
| From: | Gabor Gludovatz | Date: | Wed, 09 Jan 2002 02:26:08 +0000 |
| Subject: | Apache virtualhosts with different user | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79843@lists.php.net to get a copy of this message | ||
Hello,
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.
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.
thx in advance
--
Gabor Gludovatz <ggabor@sopron.hu> - Phone: +36 (20) 9 109 129
http://www.sopron.hu/~ggabor/ - ICQ# 861 404