Re: [analog-help] Limit directories with anlgform.pl

1999-10-21 Thread Stephen Turner

On Wed, 20 Oct 1999, Judith Berman wrote:

> I set up a form for each subdirectory
> which parses the log file pulling information for that directory only
> 
> in dacota.cfg
> DIRINCLUDE /dacotah
> REQEXCLUDE /*.*
> REQINCLUDE /dacotah/*.html,/dacotah/
> PAGEINCLUDE /dacotah/*.html,/dacotah/
> FILEINCLUDE /dacotah/*.html,/dacotah/
> 
> the form dacotah.html is then password protected for that clients eyes
> only.. and wallah individualized data results...
> 
> couldn't this be done for directories under say dacotah as well?...
> 

Yes, but it only scales to a small number of directories. Also, you have to
remember that people can submit any form data they like, not just what
you've put on the form you hope they'll use.

The only way to stop them would be to have a mandatory configuration file
that overrides their choices. But then you would have to compile analog
yourself, and you would need a new analog executable for each client.

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] Limit directories with anlgform.pl

1999-10-20 Thread Judith Berman

I set up a form for each subdirectory
which parses the log file pulling information for that directory only

in dacota.cfg
DIRINCLUDE /dacotah
REQEXCLUDE /*.*
REQINCLUDE /dacotah/*.html,/dacotah/
PAGEINCLUDE /dacotah/*.html,/dacotah/
FILEINCLUDE /dacotah/*.html,/dacotah/

the form dacotah.html is then password protected for that clients eyes
only.. and wallah individualized data results...

couldn't this be done for directories under say dacotah as well?...

Judith Berman
- [EMAIL PROTECTED]



- Original Message -
From: Stephen Turner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 20, 1999 12:22 PM
Subject: Re: [analog-help] Limit directories with anlgform.pl


On Wed, 20 Oct 1999, Susan Alderman wrote:

>
> Hi -
>
> We have a web layout that has a branch point close to the root, with
> different directories off those branches.  Here are some examples:
>
> /Departments/French
> /Departments/German_Studies
> /Departments/Egyptology
> ...
> /Students/Chinese_Students_Association
> /Students/Brown_Men_Rugby
>
> et cetera.  What I'd like to be able to do is to limit what people can
> run statistics for using anlgform.pl.  You could run statistics for
> /Departments/French* or /Students/Brown_Men_Rugby*, but NOT
> /Departments/* or /Students/*  (Basically, I'd like to throttle things
> down a bit, so it's harder to overload the server.)
>

No, you can't do that. You can't really stop people processing anything that
they can read at all. In any case, it doesn't reduce the load on the server
all that much, in terms of CPU time. The whole logfile still has to be read
and parsed. (You do save on RAM though).

--
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




Re: [analog-help] Limit directories with anlgform.pl

1999-10-20 Thread Stephen Turner

On Wed, 20 Oct 1999, Susan Alderman wrote:

> 
> Hi -
> 
> We have a web layout that has a branch point close to the root, with
> different directories off those branches.  Here are some examples:
> 
> /Departments/French
> /Departments/German_Studies
> /Departments/Egyptology
> ...
> /Students/Chinese_Students_Association
> /Students/Brown_Men_Rugby
> 
> et cetera.  What I'd like to be able to do is to limit what people can
> run statistics for using anlgform.pl.  You could run statistics for
> /Departments/French* or /Students/Brown_Men_Rugby*, but NOT
> /Departments/* or /Students/*  (Basically, I'd like to throttle things
> down a bit, so it's harder to overload the server.)
> 

No, you can't do that. You can't really stop people processing anything that
they can read at all. In any case, it doesn't reduce the load on the server
all that much, in terms of CPU time. The whole logfile still has to be read
and parsed. (You do save on RAM though).

-- 
Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/




[analog-help] Limit directories with anlgform.pl

1999-10-20 Thread Susan Alderman


Hi -

We have a web layout that has a branch point close to the root, with
different directories off those branches.  Here are some examples:

/Departments/French
/Departments/German_Studies
/Departments/Egyptology
...
/Students/Chinese_Students_Association
/Students/Brown_Men_Rugby

et cetera.  What I'd like to be able to do is to limit what people can
run statistics for using anlgform.pl.  You could run statistics for
/Departments/French* or /Students/Brown_Men_Rugby*, but NOT
/Departments/* or /Students/*  (Basically, I'd like to throttle things
down a bit, so it's harder to overload the server.)

Unfortunately, the number/names of sub-branches (French, German_Studies,
Brown_Men_Rugby) does not stay constant (branches get added/removed).

I'm using analog 3.32.  I've looked at the manual, especially the
hierarchical reports section, but it looks like analog will let me
select going up the tree:  "An sub-item is listed in a hierarchical
report only if it is above the sub-FLOOR, and it is included with a
SUB command, and its immediate parent is listed."  If I'm understanding
that right, that's the opposite direction of what I want to do.

Has anyone done this?  (Is it possible?)  If not currently possible, can
it be added to the wish list?

Thanks in advance,
Susan

p.s. Stephen - "An sub-item"?



Susan Alderman  [EMAIL PROTECTED]
Box 1885vox: 401-863-9466
CIS, Brown University   fax: 401-863-7329
Providence, RI 02912

This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/