I can finally execute a "Hello world" Perl script from a command line (have encountered numerous problems with upgrade to perl5-5.24.0), but when called from a Firefox browser session, the following errors are reported:
This thread (10 months old and marked solved) described an obscure solution that doesn't work in my case: https://forums.freebsd.org/threads/52478/#post-294495. You can google around and find other similar scenarios, one even suggesting a bug in the Apache2.4.+ system.
I've had to reinstall the Apache2.4.20 instance (previous working version destroyed by Synth . . .?) and have changed nothing significant in the httpd.conf file. Regardless, it was working before, but now fails.
In the httpd.conf file, has something changed in the system that would be effected by the following directives?
Code:
[Thu Jun 02 04:47:00.927168 2016] [cgi:error] [pid 73280] [client 9.9.9.9:43404] AH01215: (2)No such file or directory: exec of '/www/vhosts/foobar.net/cgi-bin/perl/hello.pl' failed: /www/vhosts/foobar.net/cgi-bin/perl/hello.pl, referer: http://foobar.net/
[Thu Jun 02 04:47:00.942718 2016] [cgi:error] [pid 73280] [client 9.9.9.9:43404] End of script output before headers: hello.pl, referer: http://foobar.net/
This thread (10 months old and marked solved) described an obscure solution that doesn't work in my case: https://forums.freebsd.org/threads/52478/#post-294495. You can google around and find other similar scenarios, one even suggesting a bug in the Apache2.4.+ system.
I've had to reinstall the Apache2.4.20 instance (previous working version destroyed by Synth . . .?) and have changed nothing significant in the httpd.conf file. Regardless, it was working before, but now fails.
In the httpd.conf file, has something changed in the system that would be effected by the following directives?
Code:
LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so
<IfModule mpm_prefork_module>
LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>