From 46303324caf9bfb4933a93afe12150795ba8f951 Mon Sep 17 00:00:00 2001 From: Tim Bishop Date: Thu, 10 Mar 2016 00:45:28 +0000 Subject: [PATCH] Use non-http URLs so the site works on https. --- cgi-bin/logo.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi-bin/logo.cgi b/cgi-bin/logo.cgi index de57795..69aaf8d 100755 --- a/cgi-bin/logo.cgi +++ b/cgi-bin/logo.cgi @@ -9,7 +9,7 @@ my($dir) = "/web/i-scream/htdocs/logos"; my($pattern) = "\\.jpg\$"; # URL to images - must match $dir -my($url) = "http://www.i-scream.org/logos"; +my($url) = "//www.i-scream.org/logos"; # Where the setbg command is my($setbg) = "/web/i-scream/bin/setbg.pl"; @@ -21,7 +21,7 @@ $imagepath =~ s/$dir/$url/; # Check for IPv6 if($ENV{SERVER_ADDR} =~ /:/) { - $imagepath = "http://www.i-scream.org/images/ipv6-logo.gif"; + $imagepath = "//www.i-scream.org/images/ipv6-logo.gif"; } print "Content-type: text/plain\n\n"; -- 2.44.0