News for hackers. Stuff that matters.
Re:Work has started on the next generation of Apache web server by powertower on Tuesday March 08, 2011 @10:38AM (#2301228)
What type of setup do you use to analyze, debug, and follow the code?

Any tips on getting started with module development?

Re:Work has started on the next generation of Apache web server by brianm on Tuesday March 08, 2011 @10:46AM (#2301261)
Another apache hacker answering :-)

I use emacs and gdb to muck around the code. Apache has a lot of backwards compat warts with regard to which header files define things, unfortunately, but grep (or ack) and ctags will get you around.

The best way (by far) to learn about module hackery is with Nick Kew's book, http://www.amazon.com/Apache-Modules-Book-Application-Develo...

Re:Work has started on the next generation of Apache web server by bnoordhuis on Tuesday March 08, 2011 @11:12AM (#2301375)
Another vote for Nick Kew's book. He is a regular poster on the modules-dev mailing list[1], by the way.

`httpd -X` and `gdb httpd $(pidof httpd)` are a great help when debugging.

[1] http://mail-archives.apache.org/mod_mbox/httpd-modules-dev/