Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 69052 invoked from network); 6 Dec 2003 22:14:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Dec 2003 22:14:59 -0000 Received: (qmail 43757 invoked by uid 500); 6 Dec 2003 22:14:35 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43743 invoked by uid 500); 6 Dec 2003 22:14:35 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 43730 invoked from network); 6 Dec 2003 22:14:34 -0000 Received: from unknown (HELO www6.web2010.com) (216.157.5.254) by daedalus.apache.org with SMTP; 6 Dec 2003 22:14:34 -0000 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 hB6MEZnX017650 for ; Sat, 6 Dec 2003 17:14:36 -0500 (EST) Message-Id: <6.0.0.22.0.20031206165842.03c6ccf8@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 06 Dec 2003 17:14:35 -0500 To: users@httpd.apache.org From: Marty Landman Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] newbie suexec quandary X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I've got Apache 2.0.48 running on FreeBSD 4.8 RELEASE and have been porting over a web application of mine. The most recent problem is that the app which is written in Perl 5 running as a CGI doesn't always have permission to write files to directories. My understanding is this is a known problem because cgi's run as the id that owns httpd which in my case is www; and that suexec is designed to let a cgi run as the id that owns the script so that it has the appropriate access for what it's doing. Assuming I'm right so far, here's what I just went through: #httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c #cd /tmp/httpd-2.0.48 #./configure --enable-suexec --with-suexec-bin=/usr/local/sbin --with-suexec-docroot=/mnt/web/guide #make #make install Then httpd -l again with the exact same results! Then tried a graceful restart, still the same. The initial Apache install was done using the FBSD port and this is my first time attempting to manually recompile Apache. But I'll bet you already knew that. :) /usr/local/apache2/logs/ is empty, the httpd-error.log had no complaints during restart. But I notice it restarted Apache/2.0.44 (Unix) so obviously I didn't install the newer version. Guess I'll just put on my dunce cap and wait in the corner till someone helps straighten me out. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org