Re: [squid-users] redirect HTTPS requests

From: Ted Kaczmarek <tedkaz@dont-contact.us>
Date: Wed, 11 Feb 2004 19:52:48 -0500

On Wed, 2004-02-11 at 19:01 -0300, galle wrote:
> Hi all,
> I am trying to use Squid 2.5S4 with a redirector script in order to
> redirect https requests for site1
> to site2.
>
> /client -- (https://site1) --> Squid --- (https://site2) ---> origin server
iptables is what you want or its equivalent in your os.

Ted
>
> Is it possible ?
> I can do it with http requests, but https does not seem to work.
>
> This is a copy of my redirector.pl
> I have read that "ssl=1" will work, but it wont.
>
> #!/usr/bin/perl
> $|=1;
> while (<>) {
> s@http://10.11.130.132@http://funciona.casa.ar@; <-works
> s@https://10.11.130.133@http://nofunca.casa.ar@ssl=1@; <- doesnt work
> s@https://10.11.130.134@https://nofunca2.casa.ar@; <- doesnt work
> print;
> }
>
> Please, any help will be appreciated.
>
> Thanks
>
> Galle
Received on Wed Feb 11 2004 - 17:52:49 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST