apache handlers in C

cwest on 2002-01-28T20:02:33

I get to be the masochist today. I'm writing mod_auth_cookie_ldap for work. I'm hoping to understand it well enough to do a good job. Perhaps even a releasable job. I've just build mod_hello.c straight from the text of _Writing apache Modules in Perl and C_

I'm not a C programmer, but I'm glad that the interface seems somewhat the same. I know how to use man and read source so I'm not too far behind.

I should rephrase that, I'm not a frequent C programmer. Oh well, jumping in with both feet....


Actually cool

Matts on 2002-01-28T20:34:11

It's actually not too bad. I quite enjoyed some bits of porting AxKit to being a "proper" Apache handler, and it's much faster than a mod_perl one to boot. The API's got some nice stuff in there for automatically de-allocating heap stuff at the end of the request, and so you can write quite stable code.

Have fun!