Macos – Where’s the module files for the build-in Apache in Snow Leopard

apachemacososx-snow-leopard

I'm new to Mac OS X and I'm going to do some dev work under Snow Leopard.
I enabled the build-in apache and found things below in file etc/apache2/httpd.conf:

LoadModule alias_module libexec/apache2/mod_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule bonjour_module libexec/apache2/mod_bonjour.so

But I cannot find the "libexec" directory in my system, did I make something wrong?

Best Answer

The config files are in /etc/apache2 and the modules live in /usr/libexec/apache2.

The paths in httpd.conf are relative to HTTPD_ROOT, which can be found be saying httpd -V.

Related Topic