My apache server stopped doing CGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux