Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2000 09:25:36 +0100
From:      Fredrik Carlen <fredrik.carlen@telia.com>
To:        freebsd-questions@freebsd.org
Subject:   Two Apache questions
Message-ID:  <00020809391400.00302@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00020809391400.00302>