/var/log/* {
    create 640 apache apache
    rotate 4
    monthly
    missingok
    compress
    prerotate
        /etc/init.d/httpd closelogs > /dev/null 2>&1
    endscript
    postrotate
        /etc/init.d/httpd closelogs > /dev/null 2>&1
    endscript
}
