Archive for the ‘General’ Category

Preventing Apache DOS attacks

We’ve recently come under attack from denial-of-service (DOS) attacks. In order to alleviate this situation, we are currently testing out the mod_evasive Apache module.
mod_evasive v1.10.1
The install was simple. After downloading and unpacking the source code…
/usr/sbin/apxs -i -a -c mod_evasive20.c
This will compile the module, copy it to the correct directory and enable the module [...]

Make text PHP safe

Have you ever copied and pasted some text from somewhere for use in a PHP string? You have? Well, you know that there can be some problems if the text contains single or double quotes. That’s where this little tool will come in handy:
PHP String Quoter
Just enter your text, and it will [...]

Optimizing MailScanner

Our MailScanner installation is pretty heavily utilised, scanning 20,000+ messages a day. I’m always looking for ways of improving it’s performance, so the following document has proved useful:
Optimization tips

Use a ramdisk (tmpfs) for MailScanner’s working directory.
Make sure you have enough ram
Set the noatime flag on your spool and log partitions
Use a local DNS caching [...]

Perfect Harmony?

.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }

Perfect Harmony?, originally uploaded by lonesome cowboy glen.

The latest version of Parallels Desktop for Mac offers a feature called Coherence which means that you can run Windows apps on your Mac desktop. It’s really [...]

Sending encrypted mail with Apple Mail

Apple Mail has a nice feature that allows you to digitally sign and encrypt your messages. This is extremely important if you are sending sensitive information via e-mail because messages are usually sent over an unencrypted channel. This means that there is the potential of your message being intercepted by a third-party. [...]

Run multiple versions of Internet Explorer on Windows

Windows has always been a bit of a pain when it comes to Internet Explorer versions: it only allows you to have one installed. This makes testing problematic: it means, for instance, that I have to have several Windows XP installations in Parallels Desktop and load them up when needed. However, [...]

Ultra Firefox

.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }

Firefox with 100 extensions installed, originally uploaded by lonesome cowboy glen.

Okay, so I was bored one night so I started messing around with Firefox. I basically installed the 100 most popular add-ons for the Mac [...]

New Site Launched For Client

We recently completed a site for a client called Casvor.
www.casvor.com
They are resellers of iPod accessories.
The project involved designing the interface and also developing an order form.
The order form was integrated in to their Protx account.
This enables them to take online payments by Credit and Debit card.
We installed an SSL Certificate on the site to ensure [...]