I am building a website for my own education, and am trying to learn Apache. Consequently, I've noticed an odd behavior I was hoping someone could explain. Basically, when I start Apache via WebSharing, I can access both my shortname index and the base directory that Apple provides. When I try to visit the same Apple-provided sites after starting Apache via command line sudo apachectl start, I get 404 on both pages, even though top registers httpd processes running.
What don't I understand about Apache as provided by Apple?
/usr/htdocs. In my case, I created a symlink to the default /Users/name/Sites. – learner May 13 '12 at 16:53