]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/W3MMode_still_uses_http:__47____47__localhost__63__.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / W3MMode_still_uses_http:__47____47__localhost__63__.mdwn
1 My setup matches w3mmode [[w3mmode/ikiwiki.setup]] exactly.
2 My doc/index.mdwn just has a line or two of plain text.
3 When I try to edit that page in w3m, it works fine until I push [Save Page].
4 Then I just get a page that only contains "403".
5
6 ikiwiki version is 3.20110715ubuntu1.
7 w3m is 0.5.3.
8
9 -- [[terry|tjgolubi]]
10
11 I made it work, though probably not completely, by renaming
12 ~/.ikiwiki/wrappers/ikiwiki.cgi to ikiwiki2.cgi and replacing it with:
13
14     #!/bin/bash
15     /home/tjgolubi/.ikiwiki/wrappers/ikiwiki2.cgi $* | sed -e 's,http://localhost,file://,g'
16
17 I'm afraid that this hack may have bad side-effects, but I hope it points you to the cause/solution.
18 Of course, the next time I rerun ikiwiki --setup, it will overwrite my wrapper-wrapper.
19
20 -- [[terry|tjgolubi]]
21
22 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.
23
24 -- [[terry|tjgolubi]]