Just now changing the two fields in the file /etc/apache2/httpd.conf from “/Library/WebServer/Documents” to “/Users/norm/cap-lore.com” and then the shell command ‘sudo apachectl restart’ got me to the point where Apache was serving files to my browser via domain name “localhost:80” or just “localhost”. Character coding was mostly right. Apache and modern browsers are guessing correctly more often now. I also changed the two instances of ‘AllowOverride None’ to ‘AllowOverride All’.
Here is the output of the diff command between the /etc/apache2/httpd.conf file installed along with OSX10.10.3, and how I modified that to do my things:
220c220 < AllowOverride All --- > AllowOverride none 236,237c236,237 < DocumentRoot "/Users/norm/cap-lore.com" < --- > DocumentRoot "/Library/WebServer/Documents" > 251,252d250 < Options +Indexes < AddType "text/html; charset=UTF-8" .html 255d252 < 261,262c258 < # AllowOverride None < AllowOverride All --- > AllowOverride None
error logs in /var/log/apache2