You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Daniel Abad <da...@cidadei.com.br> on 2002/03/17 23:14:17 UTC

server-status

Hi all!

I´m having a little problem with server-satatus 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.

Re: server-status

Posted by Darrel Clute <dc...@albion.edu>.
If the mod's syntax works anyting like Cisco ACL features than you will want
to put this instead
<Location /server-status>
    SetHandler server-status
    Order allow,deny
    Allow from localhost
    Deny from all
</Location>

Just a guess
##########################
   Darrel Clute, CCNA
   Partner/CEO
   Acumen Technology Group
   Clute Technologies
#########################
----- Original Message -----
From: "Daniel Abad" <da...@cidadei.com.br>
To: <de...@httpd.apache.org>
Sent: Sunday, March 17, 2002 5:14 PM
Subject: server-status


Hi all!

I´m having a little problem with server-satatus 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.