apache error

Kevin Kinsey kdk at daleco.biz
Tue May 2 13:56:52 UTC 2006


dharam paul wrote:
> Running the command 'apachectl status'produces the
> following gerror:
> 
>                           Not Found
> 
>    The requested URL /server-status was not found on
> this server.
>     
> _________________________________________________________________
> 
> 
>     Apache/2.0.55 (FreeBSD) Server at localhost Port
> 80
> 
> Practically apache is seving the index.html page.
> 
> What is the problem here?
> 
> Regards
> 


Check your httpd.conf file.  Apache needs to a] load the status module, 
b] "add" the status module, and c] be configured to show the "status" page:

#
# Allow server status reports, with the URL of
# http://servername/server-status
# Change the ".your-domain.com" to match your domain to enable.
#

<Location /server-status>
     SetHandler server-status
     Order deny,allow
     Allow from all
</Location>

Note that you probably don't want "allow from all".

HTH,

Kevin Kinsey

-- 
Your boss climbed the corporate ladder, wrong by wrong.



More information about the freebsd-questions mailing list