Re: [squid-users] external_acl_mode

2014-06-03 Thread Jose-Marcio Martins

On 05/26/2014 07:57 AM, Amos Jeffries wrote:

On 26/05/2014 12:10 p.m., Cassiano Martin wrote:

Use deny_info for that. External ACL filters just says to squid what
is OK and NOT OK

You can pass some data to squid by keypairs (key=value) but I think
its only used to squid replace tags on response pages.


Codes like %o can be used in the deny_info URL in recent releases:
  http://wiki.squid-cache.org/Features/CustomErrors



Thanks everybody for the hints.

José Marcio



--



Re: [squid-users] external_acl_mode

2014-05-25 Thread Jose-Marcio Martins

On 05/25/2014 01:08 AM, Luis Daniel Lucio Quiroz wrote:

use url_rewrite_*


I'm converting a url_rewrite_* program to external_acl*

Thanks either way.



2014-05-24 13:00 GMT-04:00 Jose-Marcio Martins
jose-marcio.mart...@mines-paristech.fr:


Hello,

I'm writing a external_acl_mode helper to use with our proxy (combined with
http_access).

Is there a way to specify an alternative URL, as does redirect helpers, when
access to the asked URL is denied ?

Thanks

José-Marcio

--



--



Re: [squid-users] external_acl_mode

2014-05-25 Thread Cassiano Martin
Use deny_info for that. External ACL filters just says to squid what
is OK and NOT OK

You can pass some data to squid by keypairs (key=value) but I think
its only used to squid replace tags on response pages.

2014-05-25 6:51 GMT-03:00 Jose-Marcio Martins
jose-marcio.mart...@mines-paristech.fr:
 On 05/25/2014 01:08 AM, Luis Daniel Lucio Quiroz wrote:

 use url_rewrite_*


 I'm converting a url_rewrite_* program to external_acl*

 Thanks either way.



 2014-05-24 13:00 GMT-04:00 Jose-Marcio Martins
 jose-marcio.mart...@mines-paristech.fr:


 Hello,

 I'm writing a external_acl_mode helper to use with our proxy (combined
 with
 http_access).

 Is there a way to specify an alternative URL, as does redirect helpers,
 when
 access to the asked URL is denied ?

 Thanks

 José-Marcio

 --



 --



Re: [squid-users] external_acl_mode

2014-05-25 Thread Amos Jeffries
On 26/05/2014 12:10 p.m., Cassiano Martin wrote:
 Use deny_info for that. External ACL filters just says to squid what
 is OK and NOT OK
 
 You can pass some data to squid by keypairs (key=value) but I think
 its only used to squid replace tags on response pages.

Codes like %o can be used in the deny_info URL in recent releases:
 http://wiki.squid-cache.org/Features/CustomErrors

Amos



Re: [squid-users] external_acl_mode

2014-05-24 Thread Luis Daniel Lucio Quiroz
use url_rewrite_*

2014-05-24 13:00 GMT-04:00 Jose-Marcio Martins
jose-marcio.mart...@mines-paristech.fr:

 Hello,

 I'm writing a external_acl_mode helper to use with our proxy (combined with
 http_access).

 Is there a way to specify an alternative URL, as does redirect helpers, when
 access to the asked URL is denied ?

 Thanks

 José-Marcio

 --