]> i-scream Git - www.i-scream.org.git/commitdiff
Use non-http URLs so the site works on https.
authorTim Bishop <tim@bishnet.net>
Thu, 10 Mar 2016 00:45:28 +0000 (00:45 +0000)
committerTim Bishop <tim@bishnet.net>
Thu, 10 Mar 2016 00:45:28 +0000 (00:45 +0000)
cgi-bin/logo.cgi

index de57795..69aaf8d 100755 (executable)
@@ -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";