Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Eeek: Apache2 lost it's CGI ability
Date: Sun, 15 Feb 2009 23:59:43
Message-Id: 9acccfe50902151559ma26a439k783d58b2c46d74b7@mail.gmail.com
1 I've got a low-use CGI script on my web server. Aside from web
2 crawlers, I usually see at most a few hits a week from
3 people who share my hobby.
4
5 I just found out it's been down for an unknown period of time because
6 my Apache no longer does CGI scripting.
7 I can't even get it to run the simplest possible C program.
8
9 In /etc/apache2/httpd.conf, I've added a single line to what I think
10 is the standard config -- at the end I added
11
12 #KOSMANOR: defer to ./kosmanor/hexDirs.conf
13 Include /etc/apache2/kosmanor/hexDirs.conf
14
15 And the CGI part of hexDirs.conf is just
16
17 ScriptAlias /hex-bin /hex/bin
18 <Directory /hex/bin>
19 Options FollowSymLinks
20 Order allow,deny
21 Allow from all
22 </Directory>
23
24 I don't get much help from the logs. The access log shows that the
25 request got an error code,
26 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] "GET /hex-bin/board
27 HTTP/1.1" 500 542
28
29 and all that the error log says is:
30 [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature
31 end of script headers: board
32
33
34 Any idea how to debug this, or any intuitions about what I neglected to do?
35
36
37
38
39 --
40 Kevin O'Gorman, PhD

Replies

Subject Author
[gentoo-user] Re: Eeek: Apache2 lost it's CGI ability Harry Putnam <reader@×××××××.com>
Re: [gentoo-user] Eeek: Apache2 lost it's CGI ability Naga <nagatoro@×××××.com>