[squid-users] Squid appears to be ignoring url_rewrite_program

Nishant Sharma codemarauder at gmail.com
Tue Sep 17 16:22:41 UTC 2024


Sorry for jumping the gun. Just read your mail again.

You want to redirect and not block.

Regards,
Nishant

On 17 September 2024 4:04:24 pm UTC, Nishant Sharma <codemarauder at gmail.com> wrote:
>Hi Martin,
>
>On 17/09/24 19:04, Martin A. Brooks wrote:
>> On 2024-09-17 13:39, Martin A. Brooks wrote:
>>> I am trying to use a URL rewriter program to redirect client requests for certain URLs elsewhere.  I found this on github which seems to do what I need:
>>> 
>>> https://github.com/rchunping/squid-urlrewrite
>>> 
>
>You may want to use external_acl_helper instead of url_rewrite_program, to handle CONNECT requests gracefully and close the connection to blocked destinations instead of trying to re-direct. This wouldn't require SSL_bump.
>
>Here is a reference implementation:
>
>https://github.com/Hopbox/charcoal-helper
>
>It requires a server to talk to for ALLOW or DENY decisions, which you can self-host.
>
>(disclaimer: I am the author)
>
>Regards,
>Nishant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240917/cced0902/attachment.htm>


More information about the squid-users mailing list