I've been running this server on gentoo for about 5 years, mostly
without touching it.
So I was a bit surprised to find that it is unable to serve CGI
scripts or programs.
The one CGI script I have is low-use (read by a few other hex game hobbyists) so
I don't know when this went sour, but suspect one of gentoo's updates did it
sometime in the last few months.

The logs are not much help.  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

I put a simple C program in there to create a file in /tmp, and nothing happens.

My httpd.conf has just one added line:
Include /etc/apache2/kosmanor/hexDirs.conf

And the CGI part of that config file is
ScriptAlias /hex-bin /hex/bin
<Directory /hex/bin>
   Options FollowSymLinks
   Order allow,deny
   Allow from all
</Directory>

So the question is: how can I debug this?  Or does anyone have an
inuition about what might be wrong?


-- 
Kevin O'Gorman, PhD

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to