From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 12:17:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6E7616A4CE for ; Wed, 28 Apr 2004 12:17:01 -0700 (PDT) Received: from mail03.talkactive.net (mail03.talkactive.net [81.19.252.192]) by mx1.FreeBSD.org (Postfix) with SMTP id C294F43D66 for ; Wed, 28 Apr 2004 12:17:00 -0700 (PDT) (envelope-from mikkel@talkactive.net) Received: (qmail 55360 invoked from network); 28 Apr 2004 19:16:58 -0000 Received: from unknown (HELO ?192.168.1.145?) (80.164.16.222) by mail03.talkactive.net with SMTP; 28 Apr 2004 19:16:58 -0000 From: Mikkel Christensen Organization: Talk|Active To: freebsd-questions@freebsd.org Date: Wed, 28 Apr 2004 19:16:58 +0000 User-Agent: KMail/1.6.1 References: <200404262126.36157.mikkel@talkactive.net> <200404270916.42738.mikkel@talkactive.net> <408E2B2F.5050604@circlesquared.com> In-Reply-To: <408E2B2F.5050604@circlesquared.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404281916.58166.mikkel@talkactive.net> Subject: Re: Suexec with Apache 1.3.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 19:17:02 -0000 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