in reply to Re: perl cgi on Sierra (configure apache)
in thread perl cgi on Sierra

Thanks for reply but I know all of that. Apache working including php. However, will not execute Perl cgi scripts.

It all worked in El Capitan.

  • Comment on Re^2: perl cgi on Sierra (configure apache)

Replies are listed 'Best First'.
Re^3: perl cgi on Sierra (configure apache)
by Your Mother (Archbishop) on Nov 21, 2016 at 20:38 UTC

    Apple frequently changes parts of dev stuff in releases and you have to install Xcode to have a bunch of it at all. If it's serving text for the CGI and the file is executable then it can only be a missing configuration issue where CGI is not enabled for that dir.

Re^3: perl cgi on Sierra (configure apache)
by Anonymous Monk on Nov 22, 2016 at 01:12 UTC

    Thanks for reply but I know all of that. Apache working including php. However, will not execute Perl cgi scripts. It all worked in El Capitan.

    Hi,

    Are you sure? If so, what is the solution (what was the problem)?

    There is only one reason apache would treat "hello.pl" as a text file,

    its because it doesn't know to treat "hello.pl" differently,

    because it has not been configured to treat "hello.pl" differently

    Don't rely on default vendor apache configurations, vendors make changes . Maintain your own configuration file, avoid surprises.