No Featured Image

Log rotation on Plesk 8

A few of our websites receive high traffic and, as a result, the apache log files grow very large, very quickly. By default, Plesk rotates logs every 2,025,139 KB (2GB). This is way too large for a virtualised server such as ours, which provides 10GB of precious disk space.
To combat this, I set up … Read more »

No Featured Image

Apache – Redirect all requests to a single page

We’re migrating servers at work, and I needed to show a single “We’re moving” page no matter what URL was requested. Here’s how to do it permanently, and temporarily:
RedirectMatch permanent .* http://yoursite.com/migration.html
RedirectMatch temp .* … Read more »