From owner-freebsd-questions Tue Feb 8 0:38:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by builder.freebsd.org (Postfix) with ESMTP id 1228C412F for ; Tue, 8 Feb 2000 00:38:27 -0800 (PST) Received: from d1o29.telia.com (d1o29.telia.com [194.236.214.241]) by mailg.telia.com (8.9.3/8.9.3) with ESMTP id JAA28669 for ; Tue, 8 Feb 2000 09:39:15 +0100 (CET) Received: from localhost (t3o29p75.telia.com [194.236.215.75]) by d1o29.telia.com (8.8.8/8.8.8) with SMTP id JAA01998 for ; Tue, 8 Feb 2000 09:39:14 +0100 (CET) From: Fredrik Carlen Reply-To: fredrik.carlen@telia.com To: freebsd-questions@freebsd.org Subject: Two Apache questions Date: Tue, 8 Feb 2000 09:25:36 +0100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00020809391400.00302@localhost> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I've got two questions concerning Apache: 1: Why isn't my httpd run as a daemon? When I send the root process the kill signal (like so: kill PID), it doesn't restart itself. It just plain old dies. The command I use to start it up at boot time is: /usr/local/sbin/httpd This line is in my /etc/rc.local , as you might have already guessed. No flags, no nothing... 2. Why is it that my CGI-script must have system-wide permissions to be executed? The same applies to all the files in the web document root. I tried changing groups to "nobody", the group for most of my httpd's, and setting system-wide right to null and nothing, which only meant they weren't read at all. Here's what I mean: drwxr-xr-x 2 root wheel 512 7 Feb 17:24 cgi-bin drwxr-xr-x 4 root staff 512 8 Feb 00:17 data drwxr-xr-x 3 root staff 2048 7 Feb 17:00 icons drwxr-xr-x 2 root wheel 512 7 Feb 17:00 proxy This way, no problem. Should I change the system wide permissions, the web server complains when I surf to it : the old 404 access denied pops up. I have a sneaking suspicion I have completely misunderstood some important concept. I would be grateful for some assistance. /Fredrik Carlen, Sweden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message