Re: [squid-users] push advertisement

From: Kancha . <[email protected]>
Date: Wed, 9 Jan 2002 19:23:47 -0800 (PST)

I thought so, some sort of redirectiom myight work.
Thanks for the idea Joe. I'll work on it during my
free time. I perfer pop-up advertisement to frameset.

In what way does squid redirect to external program ??
The input to the redireciton program (original URL)
will it be passwd as pipe or environment variables ??
Can the squid gurus point me to some tech. info
regarding this.

Thanks.

--- Joe Cooper <joe@swelltech.com> wrote:
> Since no one has spelled out exactly how to do this,
> I will:
>
> Use Squid to redirect every request to a CGI script
> running on a local
> webserver. Include in the redirect query terms the
> full URL that was
> originally requested.
>
> CGI script creates a frame with your ad at the top
> of the page...it then
> inserts the requested page into the bottom frame.
> Writing the logic to
> frame intelligently, and not frame every object
> requested or infinitely
> (you only want to frame the page on which subsequent
> related objects
> appear--this is probably a difficult thing to figure
> out on a multi-user
> proxy).
>
> Another method...probably easier, but more
> intrusive. Redirect users on
> every ".html" or ".htm" request to a javascript
> popup ad maker...it pops
> up the ad, and then the javascript loads the 'real'
> site requested in
> the default window. If you use the same popup ad
> window name for every
> request and the user keeps that window open, it will
> simply change the
> ad every time they load a new HTML object--it will
> act a lot like some
> of the free ISPs that include additional ads. This
> is roughly what Joel
> was hinting at.
>
> All of this is theoretical, I've never implemented
> such a thing, but it
> is certainly possible. It's just not terribly easy,
> because none of the
> developers of Squid ever thought of this as a useful
> (or beneficial)
> feature. I can only think of two environments where
> it is really OK: a
> free ISP, or an internet cafe. Both cases allow you
> to insist on ads in
> the terms of service. Would be pretty neat for
> those purposes though.
>
> Alex Rousskov wrote:
>
> > On Wed, 9 Jan 2002, Peter Kassies wrote:
> >
> >
> >>Since I am not requesting, I doubt very much you
> can push it to
> >>me. My browser wouldn't know what to do with it.
> >>
> >
> > A proxy can (technically) push virtually anything
> by altering the
> > response. In most cases, your browser does not
> know or care what the
> > unmodified response looks like. As an extreme
> example, a proxy can
> > serve you sex.com when you request ptt-post.nl.
> >
> > Whether it is polite/legal to do depends on the
> environment.
> >
> > Alex.
> >
> >
> >
> >>>-----Oorspronkelijk bericht-----
> >>>Van: Kancha . [mailto:kancha2np@yahoo.com]
> >>>Verzonden: Wednesday, January 09, 2002 4:41 PM
> >>>Aan: Jon Kay
> >>>CC: squid-users@squid-cache.org
> >>>Onderwerp: Re: [squid-users] push advertisement
> >>>
> >>>
> >>>Well what i mean my "push advertisement" is to
> display
> >>>advertisement without users requesting it. Is it
> >>>possible to do so through squid as all web
> requests go
> >>>through the proxy in my case. No matter which
> site
> >>>they are browsing I want to push such popup
> >>>advertisement to my users using the transparent
> >>>proxy.
> >>>

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Received on Wed Jan 09 2002 - 20:23:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:48 MST