From: https://www.google.com/accounts/o8/id?id=AItOawlkQOG_UxmAVOjXBQJLpiBmBWXEiTL9PYw Date: Fri, 2 Dec 2011 18:23:07 +0000 (-0400) Subject: (no commit message) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b4d54c155aca64f12673103f7eeae97606d06d28;p=ikiwiki.git --- diff --git a/doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn b/doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn index 270b909a9..64b6ef2ed 100644 --- a/doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn +++ b/doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn @@ -7,3 +7,14 @@ ikiwiki version is 3.20110715ubuntu1. w3m is 0.5.3. -- [[terry|tjgolubi]] + +I made it work, though probably not completely, by renaming +~/.ikiwiki/wrappers/ikiwiki.cgi to ikiwiki2.cgi and replacing it with: + + #!/bin/bash + /home/tjgolubi/.ikiwiki/wrappers/ikiwiki2.cgi $* | sed -e 's,http://localhost,file://,g' + +I'm afraid that this hack may have bad side-effects, but I hope it points you to the cause/solution. +Of course, the next time I rerun ikiwiki --setup, it will overwrite my wrapper-wrapper. + +-- [[terry|tjgolubi]]