Subject: Re: Problem with scripts in apache-
To: Todd Vierling <>
From: Dave Millen <>
List: tech-pkg
Date: 12/07/1998 14:55:58
Todd Vierling wrote:

> On Sun, 6 Dec 1998, Dave Millen wrote:
> : [error] (13)Permission denied: exec of
> : /var/www/docs/ failed
> : [error] [client] Premature end of script headers:
> : /var/www/docs/
> 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).

I am fairly sure that my virtual hosting is set up correctly and that named,
/etc/hosts and ifconfig aliasing are correct. Normal html pages are served
correctly and my scripts work fine from the command line, giving exactly the
output expected.

Have ownership and permision requirements altered since 1.3.0? perhaps I've
overlooked something in the documentaion.

Make it idiot-proof and someone will make a better idiot!