/var/log/httpd/access_log
/var/log/httpd/error_log
/var/log/httpd/*/access_log*
/var/log/httpd/*/error_log
/var/log/httpd/*/*_error_log {
daily
missingok
notifempty
compress
delaycompress
sharedscripts
rotate 7
su root root
create 0644 root root
prerotate
/usr/bin/find /var/log/httpd/ -type d -exec chmod 750 {} \;
endscript
}