From dgaudet@arctic.org Sat Apr 19 16:28:44 1997 Received: from twinlark.arctic.org (twinlark.arctic.org [204.62.130.91]) by hyperreal.com (8.8.4/8.8.4) with SMTP id QAA00942 for ; Sat, 19 Apr 1997 16:28:44 -0700 (PDT) Message-Id: Date: Sat, 19 Apr 1997 16:28:43 -0700 (PDT) From: Dean Gaudet To: "J.S.T." Cc: apbugs@apache.org In-Reply-To: Subject: Re: Changed information for PR mod_log-any/343 >Number: 424 >Category: pending >Synopsis: Re: Changed information for PR mod_log-any/343 >Confidential: yes >Severity: serious >Priority: medium >Responsible: gnats-admin >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Sat Apr 19 16:30:01 1997 >Last-Modified: Tue Apr 22 02:02:06 PDT 1997 >Originator: >Organization: >Release: >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Tue Apr 22 02:02:05 PDT 1997 State-Changed-Why: I seem to have messed up the bugdb. >Unformatted: In mod_cgi find the line: nph = !(strncmp(argv0,"nph-",4)); And replace it with: nph = 0; to disable nph scripts. But that won't let your push thing work... it's very likely that we'll have a method of doing this without nph in post-1.2 (and will eliminate nph). A more reliable way to track usage is at your router. Then you'll also be counting packet overhead. But this doesn't help unless all your customers use different ip addresses. I'm going to close the ticket. Dean On Sat, 19 Apr 1997, J.S.T. wrote: > > That is exactly what is happening. If that was somehow an idiotic > question on my part, I am sorry. Is there another way you can recommend > doing it? A way to block users from using nph-scripts and not other kinds > of scripts? > > We ended up writing logging in the nph-script [common log style] which > works pretty well, but its tough to track BW if we can't restrict > unauthorized nph-style scripts. > > Thanks for your response, > > -Jerry. > > On Sat, 19 Apr 1997 dgaudet@hyperreal.com wrote: > > > Synopsis: Bandwidth used by image push script is not logged correctly. > > > > State-Changed-From-To: open-feedback > > State-Changed-By: dgaudet > > State-Changed-When: Sat Apr 19 16:04:29 PDT 1997 > > State-Changed-Why: > > I'm guessing your streaming script is an nph-cgi, in which > > case it is impossible for apache to count the bytes sent since > > it hands the client socket directly to the cgi and the cgi > > is responsible for managing it. Is that the case? > > > > Dean > > > > >