If anybody is interested to test this out I have a 2.4.x backport here: http://people.apache.org/~jorton/httpd-2.4.x-cgid-fdpassing.patch
which ignores the configure test and hard-codes to enabling the new code (unlike code in trunk). I think we're now at parity between mod_cgi and mod_cgid in stderr handling, particularly in terms of failure cases - it's quite complicated to follow and test them all, but e.g. execve() failures do get logged properly. There are some interesting diffs between common code across the modules which I'm still looking at. It seems sensible to try to consolidate some of this, there are clearly places where mod_cgi alone has received fixes for bugs which appear to also apply to mod_cgid... WIP. Regards, Joe