Monthly Archives: February 2010

Installing lighttpd with mod_magnet on centos x86_64

Installing lighttpd was pretty simple, however while setting up this wordpress site I wanted to enable WP Super Cache. In order to run Super Cache in full mode on lighttpd we need lighttpd with mod_magnet.

mod_magnet requires that lua be install. For some reason lighttpd doesn’t appear to like lua when it is installed via yum. So I had to compile it by source.

mkdir /root/installers
cd /root/installers
mkdir lua
cd lua

wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar xvfz lua-5.1.4.tar.gz
cd lua-5.1.4

Note: if you are using x86_64 you will need to make this modification

vim src/Makefile

change

CFLAGS= -O2 -Wall $(MYCFLAGS)

to

CFLAGS= -O2 -Wall -fPIC $(MYCFLAGS)

Continue reading Installing lighttpd with mod_magnet on centos x86_64

First of Many

We run into all sorts of IT/Web related questions everyday. Those questions sometimes result in a ton of searching and research in order to find a solution or adequate workaround to the problems we are facing. Sometimes even months later we run into the same question only to have forgotten the original solution we used. So with that in mind, we put together this blog to somewhat document most of the issues we come across in order to help ourselves in case we run into it again, or to help anyone that has similar issues.

Chances are there might be some fun oddities included as well. 🙂

This is the first post in what’s likely to be many…