Re: changing permissions in order to write a file in Mod_perl

[prev] [thread] [next] [Date index for 2005/04/30]

From: Stas Bekman
Subject: Re: changing permissions in order to write a file in Mod_perl
Date: 16:00 on 30 Apr 2005
Dermot Paikkos wrote:
> I really don't know but I was just trying to set up something similar 
> here and noticed that under MP1 you certainly couldn't, see this 
> article:
> http://perl.apache.org/docs/1.0/guide/install.html#Is_it_possible_to_r
> un_mod_perl_enabled_Apache_as_suExec_
> 
> And then I saw this on changes on MP2:
> 
> "perchild
> 
> The perchild MPM is similar to the worker MPM, but is extended with a 
> mechanism which allows mapping of requests to virtual hosts to a 
> process running under the user id and group configured for that host. 
> This provides a robust replacement for the suexec mechanism.
> 
> META: as of this writing this mpm is not working"

It still doesn't. Though there is metux: http://www.metux.de/mpm/ which is 
in works.

> It looks like suexec is not an option. There maybe an alternitive in 
> the future though. Perhaps someone else with more knowledge on MP 
> could answer your question better than I can.

That's right. As explained in link Dermot has quoted above, suexec doesn't 
and won't work under mod_perl (no matter what the version)

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: changing permissions in order to write a file in Mod_perl
Stas Bekman 16:00 on 30 Apr 2005

Generated at 10:25 on 04 May 2005 by mariachi v0.52