[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#614421: apache2: virtual host rewrite log has owner root and group root

On Monday 21 February 2011, David Christensen wrote:
> I'm designing a Linux/ Apache/ MySQL/ Perl content management
> system that I'd like to work in shared hosting environments (among
> other configurations).   Apache typically runs as an unpriviledged
> user (www-data on Debian, suexec, others?). So, neither my
> software nor the user will be able to rotate or delete the logs.
> What is the correct solution?

Use logrotate (run as root by cron) or a piped logger like cronolog.

Reply to: