httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liyu,She" <liyu...@gmail.com>
Subject Re: [users@httpd] How to switch to a lot of different users with suexec?
Date Wed, 26 Sep 2007 16:10:49 GMT
Thanks a million, Joshua. I'll certainly try it out.

liyushe

On 9/26/07, Joshua Slive <joshua@slive.ca> wrote:
> On 9/26/07, Liyu,She <liyushe@gmail.com> wrote:
> > Dear all,
> >
> > I am trying to write a configuration file with which I can allow users
> > of the same group(freeos) have their own homepages and cgi-bin
> > directories for them to execute their own cgi programs. So I tried
> > suexec, but here comes the problem - suexec can only switch to a
> > certain user, as far as I know, and it needs the directories, which
> > these users' cgi programs are in, and the cgi programs to be exactly
> > owned by the USER and GROUP specified by SuexecUserGroup in the
> > context of VIRTUALHOST in http.conf.
> >  So how could I make sure that each user execute their own program as
> > themselves, not as apache/daemon? Could anyone tell me? Thank you so
> > much.
>
> suexec operates in two modes. The first is, as you described above,
> one user per virtual host. The second is through mod_userdir. Using
> that technique, any cgi in a http://example.com/~user/ directory can
> be executed under the permissions of the user. See:
> http://httpd.apache.org/docs/2.2/suexec.html#usage
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
http://bbs.stu.edu.cn/cgi-bin/bbsqry?userid=sly

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message