And you have received the slightly obfuscated answer "this is not the
job of Squid".
You have two choices:
a) Make your users install and use your custom made browser who
includes such banners. (most likely the easiest approach)
b) Write a content transforming proxy who adds such banner by clever
rewriting of returned HTML. Quite many sites are likely to fail when
accessed via such proxy.
Writing a prototype proxy doing 'b' is simple. Writing one that actually
works to a acceptable level is a nightmare and requires detailed
knowledge of programming, HTML, Dom, JavaScript and VBScript, as all
levels need to be adjusted to account for the banner added..
Complications for a rewriting proxy adding banner:
* Frames. The proxy do not know if a page is displayed in a frameset
or not.
* DOM. If you change the HTML layout then this may have effects on the
DOM layout as well unless done carefully.
* JavaScript/VBScripts. Care must be taken not to disturb
JavaScript/VBScript snippets running on the pages..
* HTML Layout.
* CSS layout.
And probably many more.
Regards
Henrik
m�n 2002-11-18 klockan 17.21 skrev Alireza Naderi:
> Hi Waitman
>
> Thanx and sorry if i ask again and again
> I can not understand your mean
> >Is this for a Windows platform?
>
> my cache server is unix and client os is windows
> i saw that URL (indy) but can not find that how it can help me
> i read their FAQ topics and nothing about HTTP
> what do you think?
>
> do any one have idea about this:
> i want to display a permanent banner at our users when they use
> my squid cache
>
> Thanx in advance
> Alireza
Received on Thu Nov 21 2002 - 10:14:52 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:29 MST