Re: [squid-users] Re: Inject some html with transparent squid

2014-03-21 Thread Alex Rousskov
On 03/20/2014 10:37 AM, xan wrote:
 Now I'm looking for a tutorial about ICAP and eCAP. Is there any good point
 to start? Thanks all for the answers.

For eCAP, the best place to start, IMO, are sample adapters at
http://www.e-cap.org/ plus answers to various developer questions at
https://answers.launchpad.net/ecap

For ICAP, you need an ICAP server. You should not try to write one IMO.
There are several servers available, including a free c-icap server.
ICAP adapter documentation is specific to the ICAP server you pick.

The following Squid FAQ may be useful for both eCAP and ICAP cases:
http://wiki.squid-cache.org/SquidFaq/ContentAdaptation

In either case, you are unlikely to find comprehensive, high-quality
documentation that will tell you exactly what you need to know and guide
you all the way through.


Good luck,

Alex.



[squid-users] Re: Inject some html with transparent squid

2014-03-20 Thread xan
Thanks but I want to do it by myself. I want to get my hands dirty with the
code .
Now I'm looking for a tutorial about ICAP and eCAP. Is there any good point
to start? Thanks all for the answers.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Inject-some-html-with-transparent-squid-tp4665224p4665305.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[squid-users] Re: Inject some html with transparent squid

2014-03-19 Thread babajaga
Have a look at my posts in this thread:

http://squid-web-proxy-cache.1019090.n4.nabble.com/Question-in-adding-banner-for-ads-by-squid-td4664976.html



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Inject-some-html-with-transparent-squid-tp4665224p4665295.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[squid-users] Re: Inject some html with transparent squid

2014-03-16 Thread xan
Hi, thanks for quick answer! 
What i should do is to make some ads in a free hotspot. I have this
http://www.ubnt.com/picostationm with openwrt installed. Now all clients
connected through this AP should receive ads, just for financing the free
wifi. I don't want to alter copyright protected contents of course. I want
something like bit.ly, something like a redirect. I would write the page in
php and make some backend where is possible to insert some content to
display in this redirection process. Is this possible through squid? I
readed that squid contains bot ICAP and eCAP. Is there any tutorial to learn
this difficult (for me ) process?
Thanks again in advance for every answer.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Inject-some-html-with-transparent-squid-tp4665224p4665227.html
Sent from the Squid - Users mailing list archive at Nabble.com.