]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/CGI_problem_with_some_webservers.mdwn
web commit by tkillian
[ikiwiki.git] / doc / bugs / CGI_problem_with_some_webservers.mdwn
index d93e2e711dc47c2f8f0c160d4594e2ac34b32146..e727c9ae2d3692dbf8f7ef4b04092526262db245 100644 (file)
@@ -50,6 +50,18 @@ 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]]