<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ikiwiki via gopher</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="../tips.html">tips</a>/ </span> <span class="title"> ikiwiki via gopher </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>Remember gopher? Ikiwiki can be served up by this venerable protocol.</p> <p>It's pretty simple to get it going. Just install pygopherd or another gopher server, and have ikiwiki put its pages where that server expects. For pygopherd, it was in <code>/var/gopher</code>.</p> <p>When building the wiki, make sure to specify --no-usedirs (or equivilant in the setup file). Gopher doesn't convert "foo/" links into "foo/index.html", so usedirs won't work well with it; if usedirs is disabled, browsing through the wiki via gopher will work just fine.</p> <p>Since AFAIK gopher has no equivilant to CGI, you'll need to keep a web server around for editing pages. If you do set up a cgi, make sure to configure <code>url</code> to something like <code>gopher://hostname/h/</code>, so that it links back properly to gopherspace from the CGI.</p> <p>One unresolved problem: Style sheets are not loaded. The urls seem ok, but pygopherd seems to serve them in a form that doesn't work somehow. I have not invesitaged more, because a fully unstyled web page fits the retro gopher better anyhow.</p> <p>--<span class="createlink">Joey</span></p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Sun Jun 15 19:05:02 2008</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>