From owner-freebsd-isp Wed Jul 31 6:27:30 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 120DC37B400 for ; Wed, 31 Jul 2002 06:27:28 -0700 (PDT) Received: from stealth.siteplus.com (ns1.siteplus.com [66.129.2.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62FE243E70 for ; Wed, 31 Jul 2002 06:27:27 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by stealth.siteplus.com (8.12.5/8.12.5) with ESMTP id g6VDRKIH000474 for ; Wed, 31 Jul 2002 09:27:20 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Wed, 31 Jul 2002 09:27:20 -0400 (EDT) From: Jim Weeks To: freebsd-isp@FreeBSD.ORG Subject: Re: Premature end of script headers In-Reply-To: <20020731034604.GA738@laptop.lambertfam.org> Message-ID: <20020731091624.H8755-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: > > > > > > ... > > ... > > ScriptAlias /cgi-bin/ "/home/support/cgi-bin/" > > > > AllowOverride Limit Indexes Options > > Options +ExecCGI +Includes > > Order allow,deny > > Allow from all > > > > ... > > ... > > -- > 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