Apacheを起動しようとしたら以下のエラーで怒られた。
$ ./bin/apachectl start Syntax error on line 124 of /usr/local/apache-httpd-2.2.19/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
理由はauthz_host_moduleが無いため。入れてあげよう。
LoadModule authz_host_module modules/mod_authz_host.so
しかし本当の理由はApacheをコンパイルする際に「--enable-modules=all --enable-mods-shared=all」を使ったからである。本気で前モジュールをsharedにしたかったらこうする(Ldap関連は不要なら省略)。
./configure --with-ldap --enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache"