emilbarton has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I had a cgi script that went fine under apache 2.2 but that can't open a pipe anymore now that I upgraded to 2.4: broken pipe. Is there some specific 2.4 config to enable cgi scripts to run external programs?

Replies are listed 'Best First'.
Re: CGI Problem upgrading Apache to 2.4
by afoken (Chancellor) on Aug 22, 2015 at 14:06 UTC
    broken pipe. Is there some specific 2.4 config to enable cgi scripts to run external programs?

    No. Show the relevant part of your code and the actual error message.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: CGI Problem upgrading Apache to 2.4
by 1nickt (Canon) on Aug 22, 2015 at 14:06 UTC

    Please see How do I post a question effectively. In particular:

    If you want to get good answers: Paste actual code that reproduces the + problem between <code> and </code> tags . State exactly what the pro +blem is. Be precise about the correct behavior / desired output.
    The way forward always starts with a minimal test.
Re: CGI Problem upgrading Apache to 2.4
by emilbarton (Scribe) on Aug 24, 2015 at 15:24 UTC
    Finally it all came from SELinux. Now erverything's fine thanks.
A reply falls below the community's threshold of quality. You may see it by logging in.