osx 10.6.3 how does apache config work?

Posted by w- on Super User See other posts from Super User or by w-
Published on 2010-04-09T22:17:26Z Indexed on 2010/04/09 22:23 UTC
Read the original article Hit count: 485

Filed under:
|
|

hi,

just got a macbook pro 15" so i'm unfamiliar with how the filesystem is laid out. i noticed when in my filesystem that i've got a few paths specifying httpd.conf
/etc/apache2/httpd.conf
/opt/local/apache2/conf/httpd.conf
/private/etc/apache2/httpd.conf

the confs are different in lots of ways--> e.g. user, group, server_root, modules that are loaded, etc. the apache2 folders themselves also greatly differ.

it seems that the one getting used is either /etc/apache2/httpd.conf or /private/etc/apache2/httpd.conf

i'm wondering if i might have messed up my system after installing some packages (php5, django, etc) via macports and maybe ended up with 2 apache2 instances.

my questions are hence:
- which httpd.conf is the one being used ?
- what are the other files for?

thanks

© Super User or respective owner

Related posts about apache2

Related posts about osx