Subject: Re: Problem with scripts in apache-
To: Dave Millen <>
From: Todd Vierling <>
List: tech-pkg
Date: 12/07/1998 10:08:18
On Mon, 7 Dec 1998, Dave Millen wrote:

: > If you are using mod_perl or mod_ssl, resup pkgsrc (making sure you get
: > `patch-al' for apache-, and recompile/reinstall apache (or at least
: > replace /usr/pkg/sbin/httpd).
: I already did that, but it made no difference. The problem seems to be that 'sh'
: does not seem to have permission to execute /usr/pkg/bin/perl via the server(or
: should that be the other way round) and so, of course, never outputs the html
: headers thus causing the second error(see above).

Could you copy the /usr/pkg/libexec/cgi-bin/test-cgi script (which does not
use perl) into your server's root as `test.cgi' and try it?

As long as /usr/pkg/bin/perl is executable by the user id running the web
server (this requirement has not changed), you should not have a problem.
Is your perl executable by all (say, mode 0555)?

-- Todd Vierling (Personal; Bus.