Apache2 bug? (/etc/hosts)

Jeremy Messenger mezz7 at cox.net
Fri May 16 13:21:13 PDT 2003


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.


More information about the freebsd-questions mailing list