Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 16:12:41 -0600
From:      "John McNamee" <jpm@igcinc.com>
To:        freebsd-questions@freebsd.org
Subject:   Save Apache logs into user home directories
Message-ID:  <199903262212.QAA18112@coffee.veryfast.net>

next in thread | raw e-mail | index | archive | help
I'm running Apache 1.3.3 (soon to be 1.3.6) on FreeBSD 2.2.8-STABLE.  I've got
a main web site and a few virtual hosts, with more virtual hosts expected. 
I've got separate access and error logs for the main site and for each virtual
host.  Right now the logs are kept in a directory only writable by root
(/var/log/www), and the files are owned by root.

I want to set up daily log rotation with the output going into a file under a
user home directory (e.g. /home/foobar/logs/1999-03-26.log).  I understand
there are some security problems with this, but I'm not fully up to speed on
the details.  I know that some of the large web hosting companies do their logs
this way, so I assume there must be a secure way to handle it.  Can anybody
point me in the right direction?

--John


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?199903262212.QAA18112>