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 can set up each proxy individually, ie. using separate spools, but I
can't get them to co-operate when using the same spool.
Is there a way to do this?
Running two separate spools isn't the end of the world and if there isn't a
solution I'll carry on doing it that way and be grateful for the free software.
If I'm missing something obvious though, then please let me know.
Failing that could I put in a feature request for a 'dont serve' section in
the config file?
Any way, here's what I tried;
I've tried running the proxies as different users/ same group then setting
the file-perm's so that 'Kids' can't read files cached by 'Teachers'
This doesn't work on two counts.
i/ it would save very little bandwidth compared with having separate spools
- only when 'Teachers' read files cached by 'Kids'. 'Kids' can't read
'Teachers' files and so re-request them.
ii/ I get a whole slew of errors like;
wwwoffled[27038]: Cannot unlink previous time page
'prevtime5/UcukXjGNILTIiYCiSFQDN1g'
[Permission denied].
wwwoffles[27430]: Cannot create file 'lasttime/D76+zy9RcTjBXd-C9WGE4Mg'
[Permission denied].
wwwoffled[4991]: Cannot rename previous time directory 'prevtime4' to
'prevtime5'
[Directory not empty].
wwwoffled[4991]: Cannot unlink previous time page
'prevtime5/UH3kQPhH25aZrLza63mUktQ'
[Permission denied].
I may be able to loose some of these permission problems but not all of them.
I can't remember exactly how, I'm getting a bit confused :), but because of
point i/ it doesn't seem too relevant :-(
TIA
TonyC