Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2003 15:07:20 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-questions@freebsd.org
Subject:   Apache2 bug? (/etc/hosts)
Message-ID:  <opro97iidk8ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
I was help someone over at bsdforums.org to get the 
http://localhost/server-status works, but he always keep get the fail page 
of 403 error or so. I decided to install www/apache2 on my desktop machine 
and found a bug. It will not accept the one line in the /etc/hosts, which 
it has to be two lines (seperate).

Not work:
=====================
127.0.0.1		localhost.domain.com localhost
=====================

Work:
=====================
127.0.0.1		localhost
127.0.0.1		localhost.domain.com
=====================

httpd.conf (Location):
=====================
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost
</Location>
=====================

Do you think, I should report to the Apache2's bugzilla?

Cheers,
Mezz


-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opro97iidk8ckrg5>