Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2002 09:27:20 -0400 (EDT)
From:      Jim Weeks <jim@jwweeks.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Premature end of script headers
Message-ID:  <20020731091624.H8755-100000@veager.jwweeks.com>
In-Reply-To: <20020731034604.GA738@laptop.lambertfam.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I hate to jump in when I have only mildly followed this thread, so tell me
to butt out if I am asking redundant questions.

1: Did you build suexec with --suexec-docroot=/home |
   --suexec-docroot=/home/support
2: Is "/home" and subsequently "/home/support" actual directories in your
   "/" root partition, or possibly a sym link?

Regards,
--
Jim

On Tue, 30 Jul 2002, Scott Lambert wrote:

> On Tue, Jul 30, 2002 at 10:43:42PM -0500, itchibahn wrote:
> > Help.  Trying out the test-cgi, and it works under main host, but under a
> > virtual host, I get "Premature end of script headers: /home/support/cgi-
> > bin/test-cgi" error message in log file.
>
> Search google for "Premature end of script headers".  This is an apache
> problem.
>
> suExec may be part of the problem.
>
> > The following is my httpd.conf for that virutal:
> >
> > <VirtualHost support.isot.com>
> > ...
> > ...
> > ScriptAlias /cgi-bin/ "/home/support/cgi-bin/"
> > <Directory "/home/support/cgi-bin">
> >         AllowOverride Limit Indexes Options
> >         Options +ExecCGI +Includes
> >         Order allow,deny
> >         Allow from all
> > </Directory>
> > ...
> > ...
>
> --
> Scott Lambert                    KC5MLE                       Unix SysAdmin
> lambert@lambertfam.org
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020731091624.H8755-100000>