public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Eeek: Apache2 lost it's CGI ability
@ 2009-02-15 23:59 Kevin O'Gorman
  2009-02-16  0:44 ` [gentoo-user] " Harry Putnam
  2009-02-17 17:10 ` [gentoo-user] " Naga
  0 siblings, 2 replies; 7+ messages in thread
From: Kevin O'Gorman @ 2009-02-15 23:59 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-18  0:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-15 23:59 [gentoo-user] Eeek: Apache2 lost it's CGI ability Kevin O'Gorman
2009-02-16  0:44 ` [gentoo-user] " Harry Putnam
2009-02-16  1:23   ` Kevin O'Gorman
2009-02-16  6:09     ` Kevin O'Gorman
2009-02-17 15:22     ` James
2009-02-17 17:10 ` [gentoo-user] " Naga
2009-02-18  0:11   ` Kevin O'Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox