Re: [squid-users] Initial webpage before surfing on squid

2009-04-16 Thread Amos Jeffries
Chris Robertson wrote: Jorge Bastos wrote: Whoops. Try... external_acl_type session ttl=14400 negative_ttl=0 children=1 concurrency=200 %SRC /usr/lib/squid3/squid_session -t 14400 Well, seems to be working fine now :) The only problem is that I get a "access denied" on every first acces

Re: [squid-users] Initial webpage before surfing on squid

2009-04-14 Thread Chris Robertson
Jorge Bastos wrote: Whoops. Try... external_acl_type session ttl=14400 negative_ttl=0 children=1 concurrency=200 %SRC /usr/lib/squid3/squid_session -t 14400 Well, seems to be working fine now :) The only problem is that I get a "access denied" on every first access on each machine. My co

RE: [squid-users] Initial webpage before surfing on squid

2009-04-14 Thread Jorge Bastos
> Whoops. Try... > > external_acl_type session ttl=14400 negative_ttl=0 children=1 > concurrency=200 %SRC /usr/lib/squid3/squid_session -t 14400 Well, seems to be working fine now :) The only problem is that I get a "access denied" on every first access on each machine. My conf: external_acl_ty

Re: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Amos Jeffries
Jorge Bastos wrote: Damn! :) What can i do? If i write to the squid_session, will he answer? I saw sometimes that he post here on the list. I mean, write to the squid_session creator, Henrik Possibly. Amos -- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14 Current Beta

Re: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Chris Robertson
Jorge Bastos wrote: acl A dstdomain 195.23.114.74 acl B urlpath_regex /inicial.php http_access allow A B http_access deny !session Great!, now that works perfectly! And all sites entered are redirecting me first to the page I specified. Now I need to understand a few things and symptoms.

RE: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Jorge Bastos
> Damn! :) > What can i do? If i write to the squid_session, will he answer? I saw > sometimes that he post here on the list. I mean, write to the squid_session creator, Henrik

RE: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Jorge Bastos
> > Well, I was doing some search and didn't find any tools for this. > > Where to start? > > > > Past my knowledge level now. :) > > Amos Damn! :) What can i do? If i write to the squid_session, will he answer? I saw sometimes that he post here on the list.

Re: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Amos Jeffries
Jorge Bastos wrote: Great!, now that works perfectly! And all sites entered are redirecting me first to the page I specified. Now I need to understand a few things and symptoms. When I open a browser window, I digit http://kernel.org, and I get redirected to http://1.1.1../inicial.php, and then I

RE: [squid-users] Initial webpage before surfing on squid

2009-04-13 Thread Jorge Bastos
> Great!, now that works perfectly! And all sites entered are redirecting > me > first to the page I specified. > Now I need to understand a few things and symptoms. > When I open a browser window, I digit http://kernel.org, and I get > redirected to http://1.1.1../inicial.php, and then I click the

RE: [squid-users] Initial webpage before surfing on squid

2009-04-12 Thread Jorge Bastos
> acl A dstdomain 195.23.114.74 > acl B urlpath_regex /inicial.php > > http_access allow A B > http_access deny !session Great!, now that works perfectly! And all sites entered are redirecting me first to the page I specified. Now I need to understand a few things and symptoms. When I open a brow

Re: [squid-users] Initial webpage before surfing on squid

2009-04-12 Thread Amos Jeffries
Jorge Bastos wrote: That passes a 302:http://195.23.114.74/inicial.php?url=... back to the client. If the client then requests from Squid: http://195.23.114.74/inicial.php?url=... and if squid is not configured to unconditionally accept the "http://195.23.114.74/inicial.php"; requests this

RE: [squid-users] Initial webpage before surfing on squid

2009-04-12 Thread Jorge Bastos
> That passes a 302:http://195.23.114.74/inicial.php?url=... back to the > client. > > If the client then requests from Squid: >http://195.23.114.74/inicial.php?url=... > > and if squid is not configured to unconditionally accept the > "http://195.23.114.74/inicial.php"; requests this will r

Re: [squid-users] Initial webpage before surfing on squid

2009-04-12 Thread Amos Jeffries
Jorge Bastos wrote: Try this: echo rawurldecode($_GET['url']); Its a little weird that the redirect URL is being added as the sub-URI. Are you sure your http_access are permitting access to the splash URI before checking the session handler? Amos Hi Amos, Well, the rawurldecode() retur

RE: [squid-users] Initial webpage before surfing on squid

2009-04-12 Thread Jorge Bastos
> Try this: > >echo rawurldecode($_GET['url']); > > > Its a little weird that the redirect URL is being added as the sub-URI. > Are you sure your http_access are permitting access to the splash URI > before checking the session handler? > > Amos Hi Amos, Well, the rawurldecode() returned

Re: [squid-users] Initial webpage before surfing on squid

2009-04-11 Thread Amos Jeffries
Jorge Bastos wrote: Chris, I was doing some tests to see the value that is passed by the %s variable, and the value that goes to the output is: --- http://195.23.114.74/inicial.php?url=http%3A%2F%2F195.23.114.74%2Finicial.ph p%3Furl%3Dhttp%253A%252F%252F195.23.114.74%252Finicial.php%253Furl%253D

RE: [squid-users] Initial webpage before surfing on squid

2009-04-11 Thread Jorge Bastos
Chris, I was doing some tests to see the value that is passed by the %s variable, and the value that goes to the output is: --- http://195.23.114.74/inicial.php?url=http%3A%2F%2F195.23.114.74%2Finicial.ph p%3Furl%3Dhttp%253A%252F%252F195.23.114.74%252Finicial.php%253Furl%253Dhttp% 25253A%25252F%25

RE: [squid-users] Initial webpage before surfing on squid

2009-04-11 Thread Jorge Bastos
> Hi Chris, > Well yes, I was very confused why was it complaining about AUTH, and in > the > squid_session manpage where's nothing that mentions %URI didn't touch > that. > > So far it seems to working good, I'm being redirected to the page I > specified, now I'm going to create the page to read

RE: [squid-users] Initial webpage before surfing on squid

2009-04-11 Thread Jorge Bastos
> This should probably read... > > external_acl_type session ttl=14400 negative_ttl=0 children=1 > concurrency=200 %URI /usr/lib/squid3/squid_session > > since you are intending to "remember" the original URI requested. > Using %LOGIN in an external_acl_type declaration implies you are using

Re: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Chris Robertson
Jorge Bastos wrote: Ops! Forgive me Chris, There's the squid_session on debian too, didn't saw it, sorry. I now need a bit of help on the webpage with this parameters: --- deny_info http://your.server/bannerpage?url=%s session Then set up http://your.server/bannerpage to display a sess

RE: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Jorge Bastos
> Ops! > Forgive me Chris, > There's the squid_session on debian too, didn't saw it, sorry. > I now need a bit of help on the webpage with this parameters: > --- > deny_info http://your.server/bannerpage?url=%s session > >Then set up http://your.server/bannerpage to display a > session

RE: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Jorge Bastos
> Jorge Bastos wrote: > > Chris, > > Where can I find the documentation for this helper? > > I'm surfing squid's page and don't see it :S or am I blind? > > > > Jorge, > > There is a man page included with the Squid source. Under the source > directory it's helpers/external_acl/session/squid_sess

RE: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Jorge Bastos
> > There is a man page included with the Squid source. Under the source > > directory it's helpers/external_acl/session/squid_session.8 > > > > Chris > > Chris, > Well I was looking at it right now. > And, I think I have another problem, I use the Debian Packages, so, can > o > compile this fro

RE: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Jorge Bastos
> > There is a man page included with the Squid source. Under the source > > directory it's helpers/external_acl/session/squid_session.8 > > > > Chris > > Chris, > Well I was looking at it right now. > And, I think I have another problem, I use the Debian Packages, so, can > o > compile this from

RE: [squid-users] Initial webpage before surfing on squid

2009-04-10 Thread Jorge Bastos
> > There is a man page included with the Squid source. Under the source > directory it's helpers/external_acl/session/squid_session.8 > > Chris Chris, Well I was looking at it right now. And, I think I have another problem, I use the Debian Packages, so, can o compile this from source and copy

Re: [squid-users] Initial webpage before surfing on squid

2009-04-09 Thread Chris Robertson
Jorge Bastos wrote: Chris, Where can I find the documentation for this helper? I'm surfing squid's page and don't see it :S or am I blind? Jorge, There is a man page included with the Squid source. Under the source directory it's helpers/external_acl/session/squid_session.8 Chris

RE: [squid-users] Initial webpage before surfing on squid

2009-04-09 Thread Jorge Bastos
ert...@gci.net; squid-users@squid-cache.org > Subject: RE: [squid-users] Initial webpage before surfing on squid > > Hi Chris, > Thank you, going to search for that and study and post anything else I > need. > The 1st problem was that I didn't knew for what to search. >

RE: [squid-users] Initial webpage before surfing on squid

2009-04-09 Thread Jorge Bastos
06 > To: squid-users@squid-cache.org > Subject: Re: [squid-users] Initial webpage before surfing on squid > > Jorge Bastos wrote: > > Hi there people, > > > > I need to do a special setup, that I need help on it. > > What I need to be done is, when the user open

Re: [squid-users] Initial webpage before surfing on squid

2009-04-09 Thread Chris Robertson
Jorge Bastos wrote: Hi there people, I need to do a special setup, that I need help on it. What I need to be done is, when the user open's its browser, on the first access, whether it's the homepage, or the user entering an website, I want to show them a webpage with info, and below give them an

[squid-users] Initial webpage before surfing on squid

2009-04-09 Thread Jorge Bastos
Hi there people, I need to do a special setup, that I need help on it. What I need to be done is, when the user open's its browser, on the first access, whether it's the homepage, or the user entering an website, I want to show them a webpage with info, and below give them an "continue surfing" li