]> 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 de5779528c3e95d43c48afafdc43c2cbbf3efc5b..69aaf8dc4a08d0cf62fe7a6123472b1cc44b24ad 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";