]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn
Merge branch 'master' into cvs
[git.ikiwiki.info.git] / doc / bugs / W3MMode_still_uses_http:__47____47__localhost__63__.mdwn
index 270b909a9e3cb31199e7c6789ae384e63441cb41..3c28e379bdd7fdbeb758e0bf6d87aa9cd9e95086 100644 (file)
@@ -7,3 +7,18 @@ 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]]
+
+I made a logfile of all the args, env, and stdin/stdout to/from my wrapper.  If you're interested, I'll email it to you.  I wasn't able to attach it here.
+
+-- [[terry|tjgolubi]]