Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-20 Thread Bret Stern
My last comment. Maybe the perl interpreter wasn't in the same place defined in the perl script header. Oh Well. Nothing ventured. Nothing gained. On Thu, 2019-06-20 at 18:53 -0600, @lbutlr wrote: > On 18 Jun 2019, at 22:03, @lbutlr wrote: > > I need to enable perl-cgi for a specific direct

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-20 Thread @lbutlr
On 18 Jun 2019, at 22:03, @lbutlr wrote: > I need to enable perl-cgi for a specific directory local to a single site. I just punted and rewrote the the script in php. -- You only had to look into Teatime's mismatched eyes to know one thing, which was this: if Teatime wanted to find you he woul

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-19 Thread @lbutlr
On 19 Jun 2019, at 09:00, Bret Stern wrote: > Your original post log error indicated: > > No such file or directory: AH01241: exec of '/usr/local/www/bi/cgi- > local/b4.pl' failed > > Perhaps the path for cgi scripts has been changed/redifined from the > default in the apache config file # ls

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-19 Thread Bret Stern
Your original post log error indicated: No such file or directory: AH01241: exec of '/usr/local/www/bi/cgi- local/b4.pl' failed Perhaps the path for cgi scripts has been changed/redifined from the default in the apache config file On Wed, 2019-06-19 at 08:11 -0600, @lbutlr wrote: > On 19 Ju

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-19 Thread @lbutlr
On 19 Jun 2019, at 00:25, bret_st...@machinemanagement.com wrote: > Permissions on the executable/.pl > script correct to run when called? Permissions are the same they’ve been since 2004, 777. On 19 Jun 2019, at 05:07, Eric Covener wrote: > bad shebang in the file itself? Suspicious that you

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-19 Thread Eric Covener
> > # perl cgi-local/b4.pl bad shebang in the file itself? Suspicious that you added "perl" in front explicitly. If you don't want to run it via its defined interpreter, which is what mod_cgi does, you'd need something like Action to pass it as an argument to some wrapper. -

Re: [users@httpd] Adding perl-cgi in apache 2.4

2019-06-18 Thread bret_st...@machinemanagement.com
Permissions on the executable/.plscript correct to run when called? Original message From: "@lbutlr" Date: 6/18/19 9:03 PM (GMT-08:00) To: users@httpd.apache.org Subject: [users@httpd] Adding perl-cgi in apache 2.4 I need to enable perl-cgi for a specific director

[users@httpd] Adding perl-cgi in apache 2.4

2019-06-18 Thread @lbutlr
I need to enable perl-cgi for a specific directory local to a single site. I uncommented cgi in http.conf LoadModule cgid_module libexec/apache24/mod_cgid.so In the conf for the site in question I have the following: AllowOverride All Require all granted AllowOver