Date: Wed, 28 Apr 2004 19:16:58 +0000 From: Mikkel Christensen <mikkel@talkactive.net> To: freebsd-questions@freebsd.org Subject: Re: Suexec with Apache 1.3.29 Message-ID: <200404281916.58166.mikkel@talkactive.net> In-Reply-To: <408E2B2F.5050604@circlesquared.com> References: <200404262126.36157.mikkel@talkactive.net> <200404270916.42738.mikkel@talkactive.net> <408E2B2F.5050604@circlesquared.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 April 2004 09:43, Peter Risdon wrote: > Mikkel Christensen wrote: > >On Tuesday 27 April 2004 08:55, Peter Risdon wrote: > > It did sound as though it might be working already, if I remember your > earlier posts correctly. As discussed above, your php scripts will not > run suexec even if suexec is working properly. No entries will appear in > /var/log/httpd-suexec.log when you run one of the php scripts because it > isn't running suexec. That's not a fault, it's how it is meant to work. > Have you tried a perl cgi script just to test the principle? This isn't about php at all. I know that mod_php will never run as suexec and I'm not trying to do so either. Neither am I trying to get php to run under suexec as CGI. This is about Perl scripts only. > I might have missed this in an earlier post, but when apache starts do > you get lines in your /var/log/httpd-error.log like this: > > [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec) > It don't output the line above. But everything seems to be right. Apache tells me suexec is there and that it is properly configured to. The suEXEC log-line is not comming but still it's loaded in some way. What I would like to know is if any of you can point out anything in the configuration I posted earlier that could possibly lead to problems. Could the way Apache handles CGI-scripts be the problem? It's not determined by extension, it simply tries to execute everything in the cgi-bin directory. - Mikkel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404281916.58166.mikkel>