The "ikwiki.cgi?page=index&do=edit" function has a problem
-when running with [[debpkg thttpd]] or [[debpkg mini-httpd]]:
+when running with [[!debpkg thttpd]] or [[!debpkg mini-httpd]]:
for some reason the headers ikiwiki outputs are transmitted
as the page content. Surprisingly, the "do=prefs" function
works as expected.
<html>
(...)
-Ikiwiki runs fine with [[debpkg boa]].
+Ikiwiki runs fine with [[!debpkg boa]].
--[[JeremieKoenig]]
>> rather that create it.
>> --[[JeremieKoenig]]
+
+>>> If thttpd and mini-httpd interpret CGI's stderr as stdout, then
+>>> they're not properly following the CGI spec, and will break with tons
+>>> of cgi scripts besides ikiwiki. And of course there are many many cases
+>>> where ikiwiki might output to stderr, and that's the right thing to do.
+>>> So I don't see any way to address this in ikiwiki. --[[Joey]]
+
+>>>> (reported as [[!debbug 437927]] and [[!debbug 437932]]) --[[JeremieKoenig]]
+
+Marking [[done]] since it's not really an ikiwiki bug. --[[Joey]]
+
+----
+
+I'm getting some odd behaviour with boa. When I edit a page and click "Save
+Page", the URL I get taken to produces a 403 - Forbidden error until I recompile
+the wiki. For example, after editing the root page of the wiki it brings me back to
+`http://localhost/~pdw/iki/?updated`, and I see a 403 error message. Then, if
+I open up a terminal and type `ikiwiki --setup ikiwiki.setup`, and then go back
+to the browser and hit Ctrl-R, the page displays correctly, with the same URL
+that gave an error a moment ago. This is with boa 0.94.14rc21-3 and Firefox
+3.0.11 on Ubuntu 9.04. I get the feeling I'm doing something wrong somewhere;
+any suggestions where to start looking? This is a very basic setup, so feel
+free to ask. --Paul
+
+Tried setting up a git repository back-end for the wiki, in case the `post-update`
+hook caused the right updates to happen; it didn't. (But I do now have my wiki
+in git!)
+
+Turns out that `.../destdir/index.html` was being recreated after a web edit, or
+at least having its permissions modified, and being left without world-read
+permissions. Boa was then rightly refusing to serve the page. Adding the
+`umask 022` config option to `ikiwiki.setup` fixed everything, and all
+appears to be working fine now. --Paul.
+
+> Since others seem to have gotten ikiwiki working with boa,
+> I'm guessing that this is not a generic problem with boa, but that
+> your boa was started from a shell that had an unusual umask and inherited
+> that. --[[Joey]]
+
+(I'm new to wiki etiquette - would it be more polite to leave these details on the
+wiki, or to remove them and only leave a short summary? Thanks. --Paul)
+
+> Well, I just try to keep things understandable and clear, whether than
+> means deleting bad old data or not. That said, this page is a bug report,
+> that was already closed. It's generally better to open a new bug report
+> rather than edit an old closed one. --[[Joey]]