X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6adfb96d7413dec5826e86b7cb06214182b81d21..ef536f46bdeee120c7a805d92490db5769ed372f:/doc/bugs/CGI_problem_with_some_webservers.mdwn?ds=sidebyside diff --git a/doc/bugs/CGI_problem_with_some_webservers.mdwn b/doc/bugs/CGI_problem_with_some_webservers.mdwn index d93e2e711..a40a454c1 100644 --- a/doc/bugs/CGI_problem_with_some_webservers.mdwn +++ b/doc/bugs/CGI_problem_with_some_webservers.mdwn @@ -1,5 +1,5 @@ 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. @@ -15,7 +15,7 @@ Here is what it looks like in iceweasel: (...) -Ikiwiki runs fine with [[debpkg boa]]. +Ikiwiki runs fine with [[!debpkg boa]]. --[[JeremieKoenig]] @@ -50,6 +50,20 @@ Why do they appear two times with conflicting values in the very same hashes? >> Probably thttpd and mini-httpd read stderr as well as stdout, while apache >> and boa don't. When using a shell-script wrapper as the CGI, ->> which redirects ikiwiki's error output to /dev/null, it works properly. +>> which redirects ikiwiki's error output to /dev/null, it works better. + +>> The edit still fails to commit, because in my wiki, index.mdwn is +>> pulled from the base wiki and somehow ikiwiki wants to change it +>> 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]]