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 (<>) {
>                 [EMAIL PROTECTED]://[EMAIL PROTECTED]:// 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:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 7:20 AM
> To: Arbelaez, Jim
> Cc: Henrik Nordstrom; [EMAIL PROTECTED]
> 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
> 

Reply via email to