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

Reply via email to