I thought the apache config files were stored in /etc/apache2. Yet if I remove the /etc/apache2 directory and run a sudo /usr/sbin/apachectl start
the web server runs and serves up pages.
Is there another set of config files?
apachemacos
I thought the apache config files were stored in /etc/apache2. Yet if I remove the /etc/apache2 directory and run a sudo /usr/sbin/apachectl start
the web server runs and serves up pages.
Is there another set of config files?
Best Answer
At least on my system (OS X 10.9.2), I see that apache is going to use /private/etc/apache2. Note
SERVER_CONFIG_FILE
below:Normally /etc is a symlink to /private/etc, but if it isn't on your system, that may explain the discrepancy.