Rotating Apache httpd logfiles on FreeBSD

Published on Thu, 2009-10-08 - 14:27

With the disk space available on modern servers, you tend to notice some things a lot less. Like the boring fact that without log rotation, an Apache access log can grow to gigabyte size in no time.

FreeBSD's Apache HTTPD port does not ship with configuration for the FreeBSD log rotation utility, newsyslog, so your logs won't be rotated by default.

That, however, is fairly easy to fix by tweaking /etc/ newsyslog.conf a bit.

Here's how I did it:


How to create and maintain your own cache table in Drupal

Published on Tue, 2009-08-11 - 09:41

There's a lot of good documentation for how to use the caching system already set up, in particular a very nice write up by Jeff Eaton that, even though it is written for Drupal 5, I find myself looking at rather often.

If you want to set up your own caching table, however, documentation is kinda scarce – I haven't been able to find anything that covered it, but that may be due to my lack of Google skills.


The new spam

Published on Tue, 2009-03-31 - 14:11

I just came across a new kind of spam, very cleverly made:

Screenshot of the new kind of spam I got

It's a clever ploy, posting praise with hidden images. Only it was a bit off in my case, but if I hadn't checked the source, I'd never have known that I was in fact in the advertising business.

This particular post actually slipped through Mollom, so beware, my Mollom using friends – I've submitted this one to Mollom as spam, but beware what might have gotten through the net.


Lightning fast...

Published on Mon, 2009-02-16 - 21:47

I remember my first Internet connection, all 33.6 Kbps of it. The warbling sound, the seemingly endless wait for a connection. And even when you would finally managed to connect, there were still the several seconds of load you had to endure for most sites. The past millennium, it feels like ages ago.

Subscribe to Mikkel’s blog