How big a problem is being specific to Apache, anyway? I mean, back in the days of Apache 1.x, the module interface was pretty much just a C-level superset of CGI that required Apache's C utility library.