Archive for the ‘Apache’ 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 [...]

Enabling GD library for PHP 4.4.4 on Mac OS X

For some reason, GD is not enabled in the default Mac OS X build of PHP 4.4.4. Here’s an easy way to install. Make sure you have the following fink packages installed:

libpng3
libjpeg

1. Download the source code for PHP 4.4.4
PHP 4.4.4 source
2. Unpack the source
tar jxvf php-4.4.4.tar.bz2
cd php-4.4.4
3. Compile and install the GD extension

cd [...]