Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 12:31:02 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        Phillip Salzman <eclipse@pompano.pcola.gulf.net>, www@FreeBSD.ORG
Subject:   Re: CGI disk problems
Message-ID:  <19980720123102.C29612@cs.tu-berlin.de>
In-Reply-To: <Pine.BSI.3.95.980718060336.11957A-100000@pompano.pcola.gulf.net>; from Phillip Salzman on Sat, Jul 18, 1998 at 06:05:59AM -0500
References:  <Pine.BSI.3.95.980718060336.11957A-100000@pompano.pcola.gulf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1998-07-18 06:05:59 -0500, Phillip Salzman wrote:
> 
> I was trying to setup a CGI script in ~/xcontest, one that writes
> to the disk to log how many hits come from a certain site.
> 
> It appears that the httpd does not allow CGI programs to write to
> the disk, can we activate the feature to allow it?

The httpd daemon runs with the ownership nobody. Thus, the
daemon can only write in public directories like /tmp.

The logfiles are in freefall:/usr/local/www/log

The web statistic is at 
http://www.freebsd.org/statistic/freefall.html

-- 
Wolfram Schneider <wosch@freebsd.org> http://freebsd.org/~w/ 



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