Adding DSO modules to Apache 2.0.53 on UNIX
/usr/local/apache2/bin/apxs -c mod_foo.c /usr/local/apache2/bin/apxs -i -a -n foo mod_foo.la
It seems that the apxs compilation process puts the .so file in a folder called .libs/ which is invisible to a regular ls, but the above works too.