Apache on OS X

Here are scars from configuring older Mac configurations. I think they are obsolete.
2015 June 7: I did the following after installing OS X 10.10.3 without comprehending the above.

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:

<     AllowOverride All
>     AllowOverride none
< DocumentRoot "/Users/norm/cap-lore.com"
> DocumentRoot "/Library/WebServer/Documents"
<     Options +Indexes
<     AddType "text/html; charset=UTF-8" .html
< #   AllowOverride None
<     AllowOverride All
>     AllowOverride None

about .htaccess 

error logs in /var/log/apache2 

I switched machines and upgraded tp OS X 10.11.6. I replaced /etc/apache2 that came with the OS, with the directory from my old machine. I did shell command
sudo apachectl start and all was well.
For OS 10.12 I did the above and also changed a line from
Options FollowSymLinks Multiviews
Options FollowSymLinks Multiviews Indexes
That causes Apache to provide a crude index for folders without an index.html file. Previously that was the default.
After update to a beta version of OS 10.13 17A362a it stopped generating an index for a directory without a file called “index.html”. I followed advice found here and it began working.
To wit: In file “/private/etc/apache2/httpd.conf” change line “Options FollowSymLinks Multiviews” to “Options Indexes FollowSymLinks Multiviews”.
So much for programming from the specs.