<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mirrorlist</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> mirrorlist </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: mirror<br /> Author: <span class="createlink">Joey</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin allows adding links a list of mirrors to each page in the wiki. For each mirror, a name and an url should be specified. Pages are assumed to exist in the same location under the specified url on each mirror.</p> <p>In case the <code>usedirs</code> setting is not the same on all your mirrors, or if it is not the same on your local wiki as on the mirror a possibility is to let each mirror's ikiwiki CGI find out the correct target page url themselves; in that case the mirrors urls must be set to their ikiwiki CGI url instead of their base url. Example:</p> <pre><code>mirrorlist_use_cgi => 1, mirrorlist => { 'mirror1' => 'https://mirror.example.org/ikiwiki.cgi', 'mirror2' => 'https://mirror2.example.org/ikiwiki.cgi', }, </code></pre> <p>The mirrors must have the ikiwiki CGI and the <a href="./goto.html">goto</a> plugin enabled for this to work.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/web.html" rel="tag">type/web</a> </div> <div id="backlinks"> Links: <a href="../tips/distributed_wikis.html">tips/distributed wikis</a> <a href="../tips/laptop_wiki_with_git.html">tips/laptop wiki with git</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>