Resolving the /etc/hosts localhost Issue in Apache
Feb 03, 2010, 12:32 (0 Talkback[s])
(Other stories by Juliet Kemp)
"This week I once again ran into a problem I've encountered
before: issues caused by the default values in /etc/hosts used in
several Linux distributions, including older versions of Debian and
Ubuntu. It seems to have been fixed in Debian Lenny, but I've
encountered it on at least one recently installed machine, so other
applications may be overwriting the file incorrectly.
"The problematic localhost line in /etc/hosts looks like
this:
127.0.0.1 localhost.localdomain localhost
"Unfortunately, this setup confuses some applications."
Complete
Story
Related Stories:
- Shell Scripts and Here Documents(Jan 26, 2010)
- Discovering ncurses, the GUI for the Linux Console(Jan 25, 2010)
- Monitoring Disk Usage With Iotop(Jan 20, 2010)
- usb-creator: Booting From a USB Stick(Jan 12, 2010)
- SpamAssassin's Y2K10 -- Whoops, We Did It Again(Jan 04, 2010)
- 6 Really Cool Linux Stocking Stuffers(Dec 28, 2009)
- Dreamwidth's Diversity is its Strength(Dec 23, 2009)
- 'Tis the Season: The Perl Advent Calendar(Dec 21, 2009)
- Perl and the Flip-Flop Operator(Dec 14, 2009)