apache

Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap

So I mistakenly have installed wordpress in a subdirectory on my site – this worked well for testing, but I didn’t buy this domain to have my entire site sitting within a subdirectory! WordPress has a good guide on this subject, which has step by step instructions on migrating your installation from one directory to Continue reading Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap

FreeBSD Plesk 8 – installing php5 as CGI alongside php4

If you have ever needed php5 to run along side php4, you can always compile php5 as a CGI, and let php4 remain as an apache module. Here we’ve compiled php5 from FreeBSD’s ports, and have installed it as a CGI so that specific vhosts will run on this new php5. The installation was done Continue reading FreeBSD Plesk 8 – installing php5 as CGI alongside php4

Dealing with Apache referrer spam

I’ve had a number of sites get hammered by referrer spam lately, and had to look into methods of stopping, or at least slowing the attacks. Referrer spam is when a group of random (probably trojan or hacked computers) or single computers hit random pages on your site with faked referrer values, typically all pointing Continue reading Dealing with Apache referrer spam

Installing xcache on Plesk 8 on FreeBSD

Installing xcache on Plesk can be a bit of an adventure, especially on FreeBSD, since Plesk doesn’t include a lot of the php sources you may require to get this done. Download xcache 1.2.1 and php-4.4.4 (or whatever version matches what you require, you can check this by running a phpinfo.php script on the webserver) Continue reading Installing xcache on Plesk 8 on FreeBSD