From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-91066-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LYqtj-0006iS-NS for garchives@archives.gentoo.org; Sun, 15 Feb 2009 23:59:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A935EE051D; Sun, 15 Feb 2009 23:59:42 +0000 (UTC) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.251]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D01DE051D for <gentoo-user@lists.gentoo.org>; Sun, 15 Feb 2009 23:59:42 +0000 (UTC) Received: by rv-out-0708.google.com with SMTP id f25so1491654rvb.46 for <gentoo-user@lists.gentoo.org>; Sun, 15 Feb 2009 15:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=1MELW7YhtwjcEPT0lgUba0Fem2Z4mdpcJitckQht+5o=; b=ki0NPdtkHSMojmqBty9jc27ap/ia0X2K7fAjuIf03SJnDoufs3HD6vvninyHuKp4Jz 6hJG1gLSKSFA6CYvXGXfA0MXeIxpTzviZuWLtTcOiYm/yhdZGNJM5AyYt6n5lVxMU82c URXNBhwDMTE2pSZH80Q3MgHDDUNjoohWCiYTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=r0YI4F24L8RALSlLUGDfFH8wyX9MI6STDvy4OxiBpRWuWLPg2NE0TFmR0CKPLZ5l5J Kdtg9eCJknmpUbXoe7nBEXkRmg1I3ZM8C9PbLme+kkNA4wmnzXDvviv/UGVs2y3H8ew8 m2svmHQbDJCgOheYdUERBjPv3ScvUuibRrEhM= Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.115.22.1 with SMTP id z1mr1852486wai.216.1234742382005; Sun, 15 Feb 2009 15:59:42 -0800 (PST) Date: Sun, 15 Feb 2009 15:59:41 -0800 Message-ID: <9acccfe50902151559ma26a439k783d58b2c46d74b7@mail.gmail.com> Subject: [gentoo-user] Eeek: Apache2 lost it's CGI ability From: "Kevin O'Gorman" <kogorman@gmail.com> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d847b084-a482-45e4-b785-8e306f4cfdbb X-Archives-Hash: 525f017b89a75885380e9e4ac71cca2f I've got a low-use CGI script on my web server. Aside from web crawlers, I usually see at most a few hits a week from people who share my hobby. I just found out it's been down for an unknown period of time because my Apache no longer does CGI scripting. I can't even get it to run the simplest possible C program. In /etc/apache2/httpd.conf, I've added a single line to what I think is the standard config -- at the end I added #KOSMANOR: defer to ./kosmanor/hexDirs.conf Include /etc/apache2/kosmanor/hexDirs.conf And the CGI part of hexDirs.conf is just ScriptAlias /hex-bin /hex/bin <Directory /hex/bin> Options FollowSymLinks Order allow,deny Allow from all </Directory> I don't get much help from the logs. The access log shows that the request got an error code, 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board HTTP/1.1" 500 542 and all that the error log says is: [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature end of script headers: board Any idea how to debug this, or any intuitions about what I neglected to do? -- Kevin O'Gorman, PhD