From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 14:49:06 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 53C3016A4CE for ; Mon, 26 Apr 2004 14:49:06 -0700 (PDT) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011C743D58 for ; Mon, 26 Apr 2004 14:49:06 -0700 (PDT) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i3QLmxfK014321; Mon, 26 Apr 2004 17:49:01 -0400 (EDT) Message-Id: <6.0.0.22.0.20040426173644.03b10d50@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 26 Apr 2004 17:49:00 -0400 To: Mikkel Christensen , freebsd-questions@freebsd.org From: Marty Landman In-Reply-To: <200404262126.36157.mikkel@talkactive.net> References: <200404262126.36157.mikkel@talkactive.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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: Mon, 26 Apr 2004 21:49:06 -0000 At 05:26 PM 4/26/2004, Mikkel Christensen wrote: >I've tried numerous times but never succeded in getting suexec to work >properly. It's deja vu all over again for me Mikkel. >But it just never works. >Execution of CGI works perfectly. But it keeps running as the www-user. Sounds like suexec didn't get compiled into Apache, at least the one you're running. >"[notice] suEXEC mechanism enabled (wrapper: /path/to/suexec)" >But this never shows. Then my guess is that suexec isn't running. >httpd-suexec.log shows absolutely nothing. More reason to think that suexec isn't running - unless you're looking at the wrong log. There should be stuff like this on there [2004-03-02 16:28:15]: info: (target/actual) uid: (marty/marty) gid: (marty/marty) cmd: test.cgi An easy check is to make sure the path is right by looking in the directory for the timestamps of the other files. My apache/logs dir also contains httpd.pid, error_log, and access_log. I believe those are the defaults according to httpd.conf. So if you restart apache access a page attempt to access a page that doesn't exist then those other three files should all have gotten stuff written on them. >Now what do I do? There is no error-output at all so I don't have a clue >of what is wrong. Mikkel, is it possible that you've installed Apache more than once w/o totally clearing out the old install? In that case (I say this from somewhat confusing if not bitter experience) then it will be dodgy to know what you're executing, e.g. the logs may not be the active ones, or the apache you're running may not be the one compiled with suexec (my guess is #2 fwiw). Perhaps I shouldn't have even spoken up. Getting suexec running was a royal pain in the butt for me though finally got it done. And after all that... well it's just running, y'know? Will probably feel the same way when I get a reasonable understanding of email. Marty Marty Landman Face 2 Interface Inc. 845-679-9387 Web Installed Formmailer: http://face2interface.com/Products/Formal.shtml FormATable DB: http://face2interface.com/Products/FormATable.shtml Make a Website: http://face2interface.com/Home/Demo.shtml