Re: [MacPorts] #10511: RFE: Apache2 - patches for adding suexec support
#10511: RFE: Apache2 - patches for adding suexec support ---------------------------------+------------------------------------------ Reporter: tonytung@… | Owner: imajes@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: apache2 | ---------------------------------+------------------------------------------ Comment(by ro@…): Yeah, thanks, that helped. Especially since this is the best document google is giving... (At least I had an overview that kept me from running away screaming. New MacOS user here, so with the addition of a.o. learning the general workings of a.o. MacPorts details, 'adding users and groups', launchd, etc... installing suExec wasn't a piece of cake.) There's one thing, though. (Except that:[[BR]] - you also need a SuExecUserGroup directive in httpd.conf[[BR]] - MacPorts' mod_fcgid is still on 'old naming'; my config files I ported, said {{{FcgidWrapper}}} - where it should say {{{FCGIWrapper}}}. This will probably be replaced again by {{{FcgidWrapper}}} soonish, when MacPorts packages a newer mod_fcgid version) The thing: apache's suexec_log kept giving me "{{{failed to setgid (NNN: php-wrapper- scriptname)}}}". In the end, I found that it's the symlink from /opt/local/apache2/bin/suexec to /opt/local/var/macports/software/apache2/2.2.16_0+preforkmpm+suexec/opt/local/apache2/bin/suexec, which makes things break down. I have to remove the symlink and copy the actual suexec file to /opt/local/apache2/bin/suexec. (I'm on 10.6.) -- Ticket URL: <http://trac.macports.org/ticket/10511#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts