/var/log/apache/*_log {
    daily
    #rotate 365
    dateext
    missingok
    notifempty
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/httpd.pid /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || /true
    endscript
}

/var/log/apache/*/*_log {
    daily
    #rotate 365
    dateext
    missingok
    notifempty
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/httpd.pid /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || /true
    endscript
}
