When I run apxs -i -a -n 'foo' mod_foo.so the line added to the httpd.conf file looks like this: LoadModule foo_module lib/apache/mod_foo.so However, the 'ServerRoot' is used to find these modules and that is set to /etc/httpd so the correct line should be: LoadModule foo_module modules/mod_foo.so So, after running apxs -i, httpd will fail to start since it can't load the module. This was a problem in RH 5.2 and is still a problem in 6.0.
this will be fixed in the next release (6.1).