#!/usr/bin/perl
$|=1;
while (<>){
@X = split;
$url = $X[0];
if ($url =~ /^http:\/\/my\.domain\.dom\/securecontent/){
$url =~ s/^http/https/;
print "302:$url\n";
} else {
print "$url\n";
}
}With the redirector program in place, I can still access other content on the web server without problems.
If I don't use the redirector program (the 'redirect_program' parameter is not set in squid.conf) I can access the secure content fine with either http or https which I think indicates that I've set up my certificate and other squid parameters correctly.
I hope someone can shed some light on my dilema.
Andrew
