Porting mod_virgule to Apace 2.x – part II

After a little more hacking on Monday, I completed the port of mod_virgule to the Apache 2 API. It’s now running natively using the 2.x APR functions directly – no need for the 1.3 compatibility headers at all. I’m going to bang on it a few more days and then shift robots.net over to it. I’ll post the source later this week as well.

I’m doing the work on a new CentOS Linux 4.0 box that I set up to try out CentOS. Most of our boxes still run Red Hat 9 and since Red Hat’s demise I’ve been casting around for a suitable replacement. CentOS seems ideal. It’s basically a community supported, free (as in speech and as in beer) clone of Red Hat Enterprise Linux. So everything is exactly where it should be and works like you’d expect it to.

In other news I just got my hands on one of the New Micros TinyARM 2131 boards. It’s a tiny little ARM microcontroller (1″ x 1.3″) with 32K Flash and 8K RAM. Looks like another gcc cross compiler adventure in the making.

Porting mod_virgule to Apace 2.x

I got mod_virgule working on Apache 2.x this week. I started with the patch for the official codebase that James Henstridge did back in early 2004. While the official mod_virgule hasn’t changed much in the last couple of years, mine has continued to diverge due to patches for libxml2 and other requested features. So it took a little tweaking to get the old Apache 2 patch to work but it still saved a lot of time. I’m not planning on keeping Apache 1.3 compatibility, so I dropped some changes from the original patch related to 1.3 support.

I’ve still got a ways to go before it’s ready for release. At present it relies too heavily on the APR compatibility headers. Once I get things cleaned up, I’ll move robots.net to an Apache 2 server with the new code and give it some good testing. A release should follow shortly after that.

It’s nice to play with some C code again after all the website related Perl coding I do at NCC.