[squid-users] RE: Squid-3 Release Date\Questions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 5 Feb 2004 15:58:46 +0100 (CET)

Check your access.log to verify that the URLs is what you think they are.

Regards
Henrik

On Thu, 5 Feb 2004, Arbelaez, Jim wrote:

> Henrik,
>
> Ok. We tried to use both of these methods:
>
> -------------------------------------------------------------------
>
> #!/usr/local/bin/perl
> $|=1;
> while (<>) {
> s@http://svc.mydomain.com@https:// svc.mydomain.com@;
> print;
> }
>
> ------------------------------------------------------------------
>
> And then
>
> ------------------------------------------------------------------
>
> #!/usr/local/bin/perl
> $|=1;
> while (<>) {
> @X = split;
> $url = $X[0];
> if ($url =~ /^http:\/\/svc\.mydomain\.com/) {
> $url =~ s/^http/https/;
> $url =~ s/internal/secure/;
> print "302:$url\n";
> } else {
> print "$url\n";
> }
> }
>
> -------------------------------------------------------------------
>
>
> It does not redirect the client browser from (http) to (https). It
> appears that it is trying to perform (http - Client)--->(https - Squid
> box)------->(https - OWA). I need it to immediately redirect the client
> from (http) to (https). Point me in the direction of some good
> documentation or send a suggestion. BTW, I appreciate all of the help.
>
> I have already looked at this url:
> http://www.squid-cache.org/Doc/FAQ/FAQ-15.html
>
> Jimmy A.
>
>
>
> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> Sent: Thursday, February 05, 2004 7:20 AM
> To: Arbelaez, Jim
> Cc: Henrik Nordstrom; squid-dev@squid-cache.org
> Subject: RE: Squid-3 Release Date\Questions
>
> On Thu, 5 Feb 2004, Arbelaez, Jim wrote:
>
> > If squid was a webserver it would be as simple as a webpage that
> > performed a response.redirect "https://service.mydomain.com". I don't
> > want to load apache to accomplish this action. There has to be a way
> to
> > use squid to redirect the browser????
>
> There is no problem doing this in Squid.
>
> The easiest method is to use a redirector.
>
> You can also use deny_info.
>
> Regards
> Henrik
>
Received on Thu Feb 05 2004 - 07:58:53 MST

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