Date: Tue, 8 Feb 2000 09:41:57 -0500 (EST) From: Omachonu Ogali <oogali@intranova.net> To: Fredrik Carlen <fredrik.carlen@telia.com> Cc: freebsd-questions@freebsd.org Subject: Re: Two Apache questions Message-ID: <Pine.BSF.4.10.10002080940060.26810-100000@hydrant.intranova.net> In-Reply-To: <00020809391400.00302@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Feb 2000, Fredrik Carlen wrote: > 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: Use kill -HUP PID to restart it. > /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 chown -R nobody.nogroup cgi-bin/ > 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 > Omachonu Ogali Intranova Networking Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002080940060.26810-100000>