Hot answers tagged apache2
1
You should check file permissions for the /Library/WebServer/Documents folder. The www user should have at least read and execute permissions on the folders and read permissions on the files. Repair privileges if needed.
My settings (OS X 10.8, working webserver) are:
$ ls -la /Library/WebServer/Documents/
total 72
drwxr-xr-x 5 root wheel 170 10 Dic ...
1
The /usr/sbin/apachectl is installed by default in OSX; and, probably not a good idea to delete it. Instead, you could modify your $PATH environment variable so that /opt/local/bin takes precedence over /usr/sbin. Beware that this can have unintended consequences if you have very many packages installed in /opt/, as some program versions might suddenly be ...
Only top voted, non community-wiki answers of a minimum length are eligible