Re: Mantis package bombs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-08-27 at 14:20 -0400, Todd Zullinger wrote:
> 2) Apache rules use "Allow from localhost", but seem to fail with the
>    default hosts file that specifies localhost.localdomain as the
>    canonical hostname.  Using allow from 127.0.0.1 worked out better
>    for me, and seems to be what the other web app packages I have
>    installed use. 

I'm not a user of Mantis, but I do use Apache a lot.  I've never had any
problems with it using "localhost".  The normal /etc/hosts file lists
the Linuxism "localhost.localdomain" and has the standard 'localhost" as
an alias, that's good enough for Apache.  You'd have to have some real
name resolution problems for that to fail.

Having said that, using allow or deny with a hostname/domain-name does
mean that every access has to have a name lookup done (results are
cached, though).  Whereas using an IP (with or without netmask
wildcarding) avoids that step, but means you can't easily apply such
rules to hosts that change IPs dynamically.

-- 
[tim@bigblack ~]$ uname -ipr
2.6.22.1-41.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux