[squid-users] url_write_program: redirecting fails when intercepting https
zaza1851983ml at googlemail.com
Thu Jun 30 00:16:26 UTC 2016
I'm writing a small bash program script to redirect any request to say
www.google.com. This script is able to redirect any http script to
google.com, but not https requests.
I read the documentation
But this seem quite complex for my task. Basically I just want to redirect
any domain, without looking into the full path. Knowing the domain name
should not be counted as violation or interception of https I hope
Here's the script which works with http but not https:
if [[ "$old_url" =~ ".google.com" ]]; then
echo "echo '303:https://www.google.com"
Any ideas how to solve that?
Regards and thanks
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-users