You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jayaram A <ja...@wipinfo.soft.net> on 1999/08/06 07:38:32 UTC

Re: [Enhancement] : apachectl script.

My idea is to have one more different swich for
http://<ServerName>/server-status i.e., say, like the following:
        http://<ServerName>/server-status?textonly 
upon receiving which the Apache server (mod_status.c) will send a 
very brief report in a textonly (no HTML tags) form. The assumption is 
that this feature will only be used by apachectl script but not 
through a browser request. I will have a program (which will be called
in apachectl script) which sends a HTTP GET request for the URL 
"/server-status?textonly" and display the (non-HTML)response as it is 
onto the console/terminal from where apachectl is called.

If it is done this way, I suppose we need to change the apachectl 
only once. I mean to say that the changes go mostly into mod_status.c.

Please let me know your opinion.

Thanks,
Jayaram.
************* Manoj Kasichainula wrote: *************
> On Mon, Jul 12, 1999 at 01:07:38PM +0530, Jayaram A wrote:
> > How would the be idea of enabling the System Administrator to view the 
> > status of the running Apache Server (in a login window/console), 
> > *even if* the lynx browser is not present on the system?
> 
> How exactly would you do this? If you're just talking about embedding
> a HTML parser in apachectl, that scares me. If you are talking about
> just putting in minimal support for parsing only the kinds of output
> that mod_status generate, that'd be bad too, since we'd be forced to
> change apachectl every time there's a change in mod_status.
> 
> Or do you have a completely different idea?
> 
> -- 
> Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
> "Yes, I'm Linus, and I'm your God" -- Linus Torvalds, Linux Expo '98

Re: [Enhancement] : apachectl script.

Posted by Manoj Kasichainula <ma...@io.com>.
On Fri, Aug 06, 1999 at 11:08:32AM +0530, Jayaram A wrote:
> My idea is to have one more different swich for
> http://<ServerName>/server-status i.e., say, like the following:
>         http://<ServerName>/server-status?textonly 
> upon receiving which the Apache server (mod_status.c) will send a 
> very brief report in a textonly (no HTML tags) form.

I don't have much of an opinion on this. Seems useful, but there's
something to be said for not complcating mod_status with this,
especially when all the machine needs is lynx.

In any case, I'd prefer to see all new features in 2.0. Of course,
there really isn't a mod_status for you to work with in the MPM tree
yet.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/


Re: [Enhancement] : apachectl script.

Posted by Mark J Cox <ma...@awe.com>.
> That sounds pretty much like /server-status?auto to me.

That's what it was written for :)  

So if the server-status page was returning stats in XML then everyone
would be happy.

Mark
Mark J Cox, ......................................... www.awe.com/~mark
Editor, Apache Week ................................ www.apacheweek.com





Re: [Enhancement] : apachectl script.

Posted by Ask Bjoern Hansen <as...@valueclick.com>.
On Fri, 6 Aug 1999, Jayaram A wrote:

> My idea is to have one more different swich for
> http://<ServerName>/server-status i.e., say, like the following:
>         http://<ServerName>/server-status?textonly 
> upon receiving which the Apache server (mod_status.c) will send a 
> very brief report in a textonly (no HTML tags) form. 

That sounds pretty much like /server-status?auto to me.


 - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 30M impressions per day, <http://valueclick.com>