Re: Running virtualhosts under different users
| From: | Zenith | Date: | Sun, 23 Sep 2001 15:15:39 +0000 |
| Subject: | Re: Running virtualhosts under different users | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68421@lists.php.net to get a copy of this message | ||
Can you use <group> and <user> directives under <virtualhost> directive??
From the apache manual, <group> and <user> directive can be used under
virtualhost directives
It can control the uid and gid of the running httpd process, with different
uid and gid...
Right, you can try it.
"Adam Plocher" <aplocher@erepublic.com> ¼¶¼g©ó¶l¥ó
news:BD9C6995EC9DD4119F3000500461631E149AD1@mail.govtech.net...
> I realize this is more of an apache question, not a php question, but I
> thought you guys of all people, would be able to help me...
>
> I have an apache server setup, hosting a number of sites. I need one site
> to be ran under a different user so it can execute shell commands via
> system() under that user. Does anybody know how I can do this? I
installed
> the suexec module for apache, and either it doesn't work the way I need it
> to, or I just misconfigured it.
>
> I'm baffled, any information would be greatly appreciated.
>
> Thanks
> -Adam
>