[kwlug-disc] Ubuntu 12.04 LTS localhost* and internet fail - where to start^h^h^h^h^h continue?
jvj at golden.net
Sat Apr 12 15:53:26 EDT 2014
1) installed and initialized Git
2) installed etckeeper ; configured same for Git; initialized as required
(Thanks Adam for the tip, re: etckeeper.)
3) removed; moved and reinstalled Apache2 (a)
4) restarted Apache2; no start; errors re: ServerName
5) errors w/localhost; needed to mod apache2.conf to add ServerName
6) restarted Apache2; no error on serverName; apache starts; partial
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.
8) FF: w/address "localhost/index.php" (or any of the expected test/info
pages) returns a 404 "Not Found" error
A) The default mapping of localhost to the default areas in /etc/apache2
was not reestablished in the re-install of Apache.
B) The mapping of localhost may be elsewhere in /etc but outside of
/etc/apache leading to a mis-match in the configuration.
I may need to pull localhost mapping info from the Git/etckeeper repository.
(a) the move (aka rename) was required because the apt-get remove x did
not do all that was required.
(b) many hits in Stackoverflow and elsewhere ask one to change httpd.conf.
This was changed to apache2.conf in a recent (and subsequent) Ubuntu /
I have a copy of an old httpd.conf in the copy of the old apache2
directory and may need use same as reference.
Internet access from both Windows box and Linux box: OK.
Linux box: Apache2 is running well enough to make localhost accessible
w/o the 404 error (see above).
Linux box: Apache2 is not running well enough to provide access to
localhost/index.php or any of the other Apache test/info pages.
Continuing (another day)
Posting here for the possible benefit of others.
And to solicit advice / suggestions / direction.
On 2014-04-11 09:17, Adam Glauser wrote:
> On Fri, Apr 11, 2014 at 7:49 AM, <jvj at golden.net
> <mailto:jvj at golden.net>> wrote:
> But before I embark on these repairs I am considering putting
> apache under Git.
> I want to be able to capture and save my current apache
> configuration in case this is lost in any rebuild.
> I recall etckeeper* being suggested in the past.
> * http://joeyh.name/code/etckeeper/
> * https://help.ubuntu.com/12.04/serverguide/etckeeper.html
< ... snip ... >
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc