<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<big>Linux box:<br>
1) installed and initialized Git<br>
2) installed etckeeper ; configured same for Git; initialized as
required<br>
(Thanks Adam for the tip, re: etckeeper.)<br>
3) removed; moved and reinstalled Apache2 (a)<br>
4) restarted Apache2; no start; errors re: ServerName<br>
5) errors w/localhost; needed to mod apache2.conf to add ServerName
localhost (b)<br>
6) restarted Apache2; no error on serverName; apache starts; </big><big>partial
success;</big><br>
<big>7: FF: w/address "localhost" returns an empty "Index of /" page;
does not return a 404 error; also does not return the expected "It
Works" page.<br>
8) FF: w/address "localhost/index.php" (or any of the expected
test/info pages) returns a 404 "Not Found" error<br>
<br>
Assumptions:<br>
A) The default mapping of localhost to the default areas in
/etc/apache2 was not reestablished in the re-install of Apache.<br>
B) The mapping of localhost may be elsewhere in /etc but outside of
/etc/apache leading to a mis-match in the configuration.<br>
I may need to pull localhost mapping info from the Git/etckeeper
repository.<br>
<br>
(a) the move (aka rename) was required because the apt-get remove x did
not do all that was required.<br>
(b)  many hits in Stackoverflow and elsewhere ask one to change
httpd.conf.<br>
This was changed to apache2.conf in a recent (and subsequent) Ubuntu /
Apache implementation.<br>
I have a copy of an old httpd.conf in the copy of the old apache2
directory and may need use same as reference.<br>
<br>
Status:<br>
Internet access from both Windows box and Linux box: OK.<br>
</big><big>Linux box: Apache2 is running well enough to make localhost
accessible w/o the 404 error (see above).<br>
</big><big>Linux box: Apache2 is not running well enough to provide
access to localhost/index.php or any of the other Apache test/info
pages.<br>
</big><br>
<big>Continuing (another day)<br>
<br>
Posting here for the possible benefit of others.<br>
And to solicit advice / suggestions / direction.<br>
<br>
Thanks<br>
John Johnson<br>
</big><br>
On 2014-04-11 09:17, Adam Glauser wrote:
<blockquote
 cite="mid:CAFgBy5-rCq0W08Oq3gs2GUvBkKnqWatsG0zenddDBgZ=K1C22g@mail.gmail.com"
 type="cite">
  <div dir="ltr">
  <div class="gmail_extra">
  <div class="gmail_quote">On Fri, Apr 11, 2014 at 7:49 AM, <span
 dir="ltr"><<a moz-do-not-send="true" href="mailto:jvj@golden.net"
 target="_blank">jvj@golden.net</a>></span> wrote:
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">But
before I embark on these repairs I am considering putting apache under
Git.<br>
I want to be able to capture and save my current apache configuration
in case this is lost in any rebuild.<br>
  </blockquote>
  <div><br>
  </div>
  <div>I recall etckeeper* being suggested in the past.</div>
  <div><br>
  </div>
  <div>* <a moz-do-not-send="true"
 href="http://joeyh.name/code/etckeeper/">http://joeyh.name/code/etckeeper/</a></div>
  <div>* <a moz-do-not-send="true"
 href="https://help.ubuntu.com/12.04/serverguide/etckeeper.html">https://help.ubuntu.com/12.04/serverguide/etckeeper.html</a><br>
  </div>
  </div>
  </div>
  </div>
</blockquote>
<br>
<tt>< ... snip  ... ></tt><br>
</body>
</html>