Category: Webservers

Apache Watch Script

Here’s a trivial old script that I sometimes use to monitor for rough processes running on the apache user:

 

Read More »

Plesk 11 – vhost.conf File For Nginx

We’re all familier with using a vhost.conf file on Plesk to provide custom Apache directives to an individual virtual host. Originally the file was located at:

Recent versions of Plesk have moved the file to:

And of course

Read More »

Generate Rewrite Rules From CSV File

Here’s a simple Perl script that can be used to convert a CSV file of redirects into Apache rewrite rules:

The script assumes that you have 2 column – the source URL and the destination URL. You might invoke

Read More »

Lightweight 404 For Apple Touch Icons

Had a site recently that was complaining about bandwidth consumed by request for apple-touch-icon* files as described here: http://mathiasbynens.be/notes/touch-icons The customized 404 page on the site was using about 55K bytes for each request. I added the following rewrite rule:

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.