allan
02-13-03, 05:03 PM
Does anyone have a sample configuration for logrotate with virtual hosting? I would like to rotate the logs for some of the sites on my server...but I am having trouble with the syntax.
For what it is worth, each site logs to a seperate file in /var/log/httpd, so example.com would log to:
/var/log/httpd/example.com-access
/var/log/httpd/example.com-error
Thanks in advance
For what it is worth, each site logs to a seperate file in /var/log/httpd, so example.com would log to:
/var/log/httpd/example.com-access
/var/log/httpd/example.com-error
Thanks in advance