It's a very difficult thing to do.
Some pages have dynamically generated references (ie urls for buttons
written out by javascript)
You need to write or call up a fully html & Javascript & DOM browser and
see hwat it gets off the page. Ouch.
Alternatively, you could allow requests through with a X-Referer header
that matches the page you are allowing access to.
Rob
----- Original Message -----
From: "Devin Teske" <devinteske@hotmail.com>
To: <squid-users@ircache.net>
Sent: Thursday, March 01, 2001 4:24 PM
Subject: Re: [SQU] Interesting Question
> Oh noooooooo. You have no idea how upset this has made me. I really
need a
> way of letting whole pages pass through. Is there no way?
>
> >Squid does not know about pages, only objects as indicated by URLs.
> >
> >The HTML code is one URL
> >Each and every image is another URL
> >Style sheets are URLs
> >mpeg movies are URLs
> >ware downloads are URLs
> >porn images are URLs
> >[the list continues]
> >
> >--
> >Henrik Nordstrom
> >Squid hacker
> >
> >Devin Teske wrote:
> > >
> > > Hello,
> > >
> > > I have an interesting question for you all. I am building a site
filter
> >in
> > > perl that I will use as the redirector. I wanted to know a little
more
> >about
> > > how this works.
> > >
> > > Let's say, hypothetically, that the only site i want my users to
be able
> >to
> > > go to is http://apple.excite.com and every object in the page too.
> >Though I
> > > don't want to know what is in that page.
> > >
> > > So does the redirector ask you about every single object in the
page or
> >just
> > > the page? I only want to be asked about the initial page and then
accept
> >the
> > > entire pages content. Is this possible?
> > >
> > > Thanks in advance,
> > > Devin Teske
> > >
> > > PS. sorry if this message got sent more than once, hotmail is
acting
> > > screwy.squid-users@ircache.net
> > > Hello,
> > >
> > > I have an interesting question for you all. I am building a site
filter
> >in
> > > perl that I will use as the redirector. I wanted to know a little
more
> >about
> > > how this works.
> > >
> > > Let's say, hypothetically, that the only site i want my users to
be able
> >to
> > > go to is http://apple.excite.com and every object in the page too.
> >Though I
> > > don't want to know what is in that page.
> > >
> > > So does the redirector ask you about every single object in the
page or
> >just
> > > the page? I only want to be asked about the initial page and then
accept
> >the
> > > entire pages content. Is this possible?
> > >
> > > Thanks in advance,
> > > Devin Teske
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Feb 28 2001 - 23:10:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:17 MST