Category Archives: Apache

Retro fitting httpd-itk to a CentOS Apache setup

I have a few CentOS servers which despite being dedicated server are being managed by web developers who want to do the whole thing with an FTP client. This is fine, however I needed to install and configure httpd-itk so … Continue reading

Posted in Apache, CentOS | Tagged , | Leave a comment

Using apachetop with a Community Server

Having just installed apachetop on a community server to get an overview of what sites are busy on the server, I needed to create a single log file to read. Adding a line into each Apache stanza was simple but … Continue reading

Posted in Apache | Tagged , | Leave a comment

Using MTM ITK for Apache

I needed to secure websites on a FreeBSD server to stop ‘cross site contamination’, i.e. stopping virtualhost #1 modifying/reading data within virtualhost #2. In FreeBSD the solution (or at least one solution) appears to be apache22-itk-mpm. Step 1. Install the port … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , | Leave a comment

Moving to IPv6 web hosting

I decided to move this blog to an IPv6 web server because, well because I thought I ought to. We’re in the middle of the dual stacking project at Gconnect and the idea of using a new 30:30 server to … Continue reading

Posted in Apache, FreeBSD Administration, IPv6 | Leave a comment

Resetting file permissions for WordPress

WordPress seems to be a minefield when it comes to file permissions. Sometimes we just want to start again and reset the files back to a nice safe setup. Here is my 3 liner to reset  directory permissions back to … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , | Leave a comment

Quick MySQL backups

As a hosting provider we are often asked to provide a backup or dump of a mysql database. The easiest way to do it is to performa MySQLdump into a file into the webspace and the secure it with file … Continue reading

Posted in Apache, FreeBSD Administration, MySQL | Tagged , , , | Leave a comment

ModSecure – exempting a domain

Having installed modSecure2 onto a few web servers, it seems that, even with the base_rules do not get on well with Actinic software. Our options were to start removing rules from within the base_rules set or simply exclude the domain … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment

Apache and mod_secure2 (Modsecure)

There comes a time when preaching and asking nicely about securing websites on a community server is finished.  I was looking for a global method of restricting what was uploaded to the server when I came across mod_secure. This Apache … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment

Using .htaccess to Secure a Website

As promised, here are some .htaccess examples to help secure your web site. First off is preventing .php or other scripts from being run from within an ‘upload’ folder in the web space. You would expect images and in some … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment

File permissions for web developers

Here at the $dayjob we are often asked about file permissions by our customers who are developing websites. The main issues seem to be when a CMS system like Joomla or WordPress is being used, however these notes are relevant … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment