On Fri, 24 Mar 2000, Dave Hodgkinson wrote: > > General question: > > We have two little bits of mod_perl code we run, one that pops our > accellerating proxy IP address off the X-Forwarded-For list and the > other that stuffs one of a variety of possible cookies into the > basic auth field of the logger. > > I need these functions in a couple of servers, ones that don't need > to hae mod_perl if I can re-code these modules. > > How easy is it to do this in C? This is all covered in the Eagle book? should be simple. the api is covered in the eagle book, also have a look at the C examples at modperl.com (which are not in the book), and libapreq (cpan.org/modules/by-module/Apache), includes C examples for using the cookie api.