Why not like this: /etc/logrotate.d/apache2 create 640 root www-data chmod 2755 /var/log/apache2/ chgrp -R …

Friday, 29th March 2024

Comment on Awstats cannot process /var/log/apache2/access.log file by default / Awstats cannot open Apache server log file on Debian by default and how to fix that by mimo.

Why not like this:

/etc/logrotate.d/apache2
create 640 root www-data

chmod 2755 /var/log/apache2/
chgrp -R www-data /var/log/apache2/

Share this on:

Comments are closed.