[squid-users] Squid appears to be ignoring url_rewrite_program

Martin A. Brooks martin at hinterlands.org
Tue Sep 17 13:34:01 UTC 2024


Hi

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
> 
> Running this on the command line as shown in the instructions appears 
> to show it doing as I ask.

Replying to my own email as I've found that this is in fact working 
provided the URLS are http and not https. Proxied HTTPS requests use 
CONNECT and, for whatever reason, this appears to bypass the url 
rewriter.  I'm looking in to it some more but, given that a very large 
part of the world is HTTPS these days, it may be that I need to look at 
another option for this requirement.

Any ideas still greatly appreciated.


Regards

Martin.


More information about the squid-users mailing list