ikiwiki should always use https in URLs
authorLuke W Faraone <lfaraone@mit.edu>
Sun, 14 Jul 2013 18:51:04 +0000 (14:51 -0400)
committerLuke W Faraone <lfaraone@mit.edu>
Sun, 14 Jul 2013 18:51:04 +0000 (14:51 -0400)
Otherwise there will be sadness on https://sipb.mit.edu:444/ when you're
editing pages.

ikiwiki.setup

index ffb97c2413711826fd926b5cb6e1617d267435b9..3adcc9867f5f652f6efb7e45370341e9507c7dde 100644 (file)
@@ -210,7 +210,7 @@ if ($ENV{"IKIWIKI_PREVIEW_OUTPUT"}) {
                 %common_setup_args,
                 srcdir => catdir($git_root, "wiki"),
                 destdir => $ENV{"IKIWIKI_PREVIEW_OUTPUT"},
-                url => 'http://sipb.mit.edu',
+                url => 'https://sipb.mit.edu',
                 templatedir => catdir($ENV{"IKIWIKI_SHARE"}, 'templates'),
                 underlaydir => catdir($ENV{"IKIWIKI_SHARE"}, 'basewiki'),
                );
@@ -222,7 +222,7 @@ if ($ENV{"IKIWIKI_PREVIEW_OUTPUT"}) {
        # where to build the wiki
        destdir => '/afs/sipb.mit.edu/project/sipb-www/Scripts/wiki',
        # base url to the wiki
-       url => 'http://sipb.mit.edu',
+       url => 'https://sipb.mit.edu',
        # url to the ikiwiki.cgi
        cgiurl => 'https://sipb.mit.edu:444/ikiwiki.cgi',
        # filename of cgi wrapper to generate