httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Baker <jerryba...@weirdness.com>
Subject Re: server-status
Date Tue, 26 Mar 2002 20:03:36 GMT
Daniel Abad wrote:
> 
> Hi all!
> 
> I´m having a little problem with server-status that it´s returning me
> forbidden every time i try it. Below you can see my configuration in
> httpd.conf, and the error returned in the logs.
> 
> <Location /server-status>
>     SetHandler server-status
>     Order deny,allow
>     Deny from all
>     Allow from localhost
> </Location>
> 
> [Sun Mar 17 18:24:59 2002] [error] [client 127.0.0.1] client denied by
> server configuration: /home/vhosts/l
> 
> As you can see i´m using mod_vhosts compiled into apache, and also mod_info
> and mod_status. The strange thing is when i open the permition to Allow all
> and coment the deny line, it works fine, but for security reasons it can´t
> happens.
> 
> Anyone can help me?
> 
> Thaks in advanced.
> 
> Dan.

Try changing "localhost" to "127.0.0.1". I imagine that Apache never
sees that your machine is called "localhost" since it is probably not
set up to resolve IP addresses accessing it.

-- 
Jerry Baker

Mime
View raw message