Re: [squid-users] AUP using squid_session + username

2010-04-02 Thread Henrik Nordström
tis 2010-03-30 klockan 18:13 +1000 skrev John Kenyon:

> As I understand only the %s variable (requested url) can be used with 
> deny_info, however if I specify an error page I have access to other 
> variables, i.e. %a which contains username. Is there any way to pass the 
> username to an external page using deny_info? 

You can configure the web server serving that page to also require
authentication. If it's an intranet server using NTLM then
authenitcation will be transparent to the user just as it is to the
proxy.

Regards
Henrik



Re: [squid-users] AUP using squid_session + username

2010-03-30 Thread Amos Jeffries

John Kenyon wrote:

Hi All,

I've been looking into setting up an Acceptable Use Policy (AUP) page
with Squid 3.0 using squid_session.

As I understand only the %s variable (requested url) can be used with
deny_info, however if I specify an error page I have access to other
variables, i.e. %a which contains username. Is there any way to pass
the username to an external page using deny_info?

The external page will be using php (therefore cannot use an error
page) to check and log the acceptance of the AUP in a database. Also
I am using NTLM for auth. 



Not with Squid 3.0 (or 3.1).

The other % codes for deny_info become available in 3.2 which is 
currently still in development.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.1


[squid-users] AUP using squid_session + username

2010-03-30 Thread John Kenyon
Hi All,

I've been looking into setting up an Acceptable Use Policy (AUP) page with 
Squid 3.0 using squid_session. 

As I understand only the %s variable (requested url) can be used with 
deny_info, however if I specify an error page I have access to other variables, 
i.e. %a which contains username. Is there any way to pass the username to an 
external page using deny_info? 

The external page will be using php (therefore cannot use an error page) to 
check and log the acceptance of the AUP in a database. Also I am using NTLM for 
auth.

Regards,

John