Re: Mantis package bombs

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

 



Tim wrote:
> 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.

I'm not sure what I've got wrong then.  If I change /etc/hosts to:

127.0.0.1      localhost localhost.localdomain

it works.  If localhost.localdomain is the canonical name in
/etc/hosts, I get denied.

I added a localhost.localdomain zone to my local DNS and things still
wouldn't work.  (I'd previously only had a localhost zone.)

Commenting out the localhost entry in /etc/hosts didn't work either.

Care to test this out and let me know if it's just me (and Charles)
with this problem?  I created /etc/httpd/conf.d/test.conf with the
following content:

Alias /tmp /tmp

<Directory /tmp>
    Options Indexes
    Order deny,allow
    Deny from all
    #Allow from 127.0.0.1
    #Allow from localhost
    #Allow from localhost.
    #Allow from localhost.localdomain
</Directory>

In /etc/hosts:

127.0.0.1	localhost.localdomain	localhost

I am able to browse to http://localhost/tmp/ with either the 127.0.0.1
or localhost.localdomain allow lines uncommented.  Neither the
localhost nor localhost. allowed me to access the URL.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The average woman would rather be beautiful than smart because the
average man can see better than he can think.

Attachment: pgpP0woVMlVKp.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux