Hey all. I'm fairly new to dedicated servers so bare with me! But these are the two problems I've been having...
1. I want to rotate all my virtual host's logs every 2MB or so, but logrotate doesn't seem to be doing anything. Granted, I just did "yum install logrotate" but I wasn't sure how to configure it beyond that! On a related note, I'm persuing this because although Plesk is supposed to rotate logs automatically, it isn't. So if that can be solved this doesn't need to be.
2. I switched PHP to run in CGI mode instead of Apache module for security purposes on all sites on the server. Some sites work and most do not, when PHP CGI is enabled on them there is just a 500 error on any PHP page. As far as I can tell the "pattern" of who works and who doesn't work is purely sites created recently work, and sites created in the past do not.
Any help would be very appreciated! If it helps you diagnose, the server is running an up to date CentOS and Plesk 10 install.