Christian Knoke <[EMAIL PROTECTED]> wrote:
> Am Donnerstag, 28. Juni 2001 03:11 schrieben Sie:
> > I've found it impossible to set up what I at first thought would be
> > an easy thing to do, it's quite similar to the example given in the
> > FAQ.
> >
> > I'd like to have two proxies using the same spool.
> > The 'Teachers' proxy would serve all URLs
> > The 'Kids' proxy would serve only a specific URL list.

> > It's easy to persuade 'Kids' to only _get_ from specific domains
> > using the 'dont get' settings.
> > But, 'Kids' proxy mustn't serve pages outside this list just because
> > they've been cached by 'Teachers' - more difficult!

I don't think that it is any different since WWWOFFLE will not serve a
cache page if that page is listed in the DontGet section.  If it does
then it is a WWWOFFLE bug.

Don't forget that you can use negated URL specifications in the
DontGet section so that to only allow access from one domain you can
use.

DontGet
{
 !http://www.ok.for.kids/*
 *://*/*
}

You may also want to stop the 'kids' from accessing the WWWOFFLE
indexes by putting '*://localhost:8080/index/*' in the DontGet
section.

> AFAICS it is not a good idea to use the same spool with
> two instances of wwwoffle accessing it. You would have to
> use two different spool directories for that. Read the INSTALL
> file to set them up. The kids proxy should access the teachers
> proxy of course. Within the LocalNet or DontCache section
> you can tell the kids proxy not to cache anything at all - so
> it wastes no disc space.

Is there a particular reason for this?  I ask because the WWWOFFLE FAQ
gives an example very similar to this and suggests using the same
cache for two sets of users.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.6/user.html

Reply via email to