[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] sorry! server-status
- Subject: Re: [cobalt-users] sorry! server-status
- From: Dennis <dkc@xxxxxxxxxxxxx>
- Date: Sat Feb 12 15:46:01 2000
Ok. This works great for Apache... is there any way I can generate something
like this for the whole server... maybe something that displays the header of
'top'.
-Dennis
RHLinux- WHN wrote:
> I should have included more better instructions for those who want to view
> the server-status page
>
> To enable on Cobalt RaQ's: You can enable this by, as root, editing the
> Apache access.conf file (on Linux Red Hat, at /etc/httpd/conf/access.conf).
> Search for the word 'status' or > 'server-status' (different versions use
> one or the other). Most often you will find this:
>
> # 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
> # deny from all
> # allow from .your_domain.com
> # </Location>
>
> Notice the '#' in front of each line. This means it is 'commented out'; it
> will not be seen by Apache. You will want to remove this except on the
> comments themselves, and enable at least one location (localhost): # 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 yourdomain.com
> </Location>
>
> When it's allowed from yourdomain.com, this means it can be viewed from your
> server by typing:
>
> http://yourdomain.com/server-status
>
> ---------
> Mine looks like this:
>
> # 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 www-hosting.net
> </Location>
>
> Now to view all the files being access which is VERY HELPFUL if you want to
> catch those warez or mp3 sites, put this in the bottom of the access.conf
> file
>
> ExtendedStatus On
>
> After changing this file, restart Apache by: killall -HUP httpd
>
> Any questions, email me off line
>
> Regards
> Gary Peltola
> gary@xxxxxxxxxxxxxxx
> rhlinux@xxxxxxxxxxx
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users