<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY>
<P><FONT face=Arial size=2>Hello All,</FONT></P>
<P><FONT face=Arial size=2>I'm trying to use Nagios on OpenBSD 3.6 with the
default chroot'd Apache, but the CGI's are<BR>giving me an "Internal Server
Error" and the Apache logs say "Premature end of script headers".</FONT></P>
<P><FONT face=Arial size=2>I searched the archives and read a suggestion to
compile Nagios with static libraries, since<BR>the CGI's can't access them from
within the chroot. I set "CC=gcc -static" in the Makefile and did a "make
clean/re-configure/make all/make install", but the same thing
occurrs.</FONT></P>
<P><FONT face=Arial size=2>I used "/var/www/nagios" as the configure prefix and
the permissions all appear to be setup correctly with the user/group
"nagios". The daemon runs fine. Apache is configured like
so:</FONT></P>
<P><FONT face=Arial size=2>ScriptAlias /nagios/cgi-bin
"/var/www/nagios/sbin"<BR><Directory
"/var/www/nagios/sbin"><BR> Options
ExecCGI<BR> AllowOverride AuthConfig<BR>
Order allow,deny<BR> Allow from
all<BR></Directory></FONT></P>
<P><FONT face=Arial size=2>Alias /nagios
"/var/www/nagios/share"<BR><Directory
"/var/www/nagios/share"><BR> Options
None<BR> AllowOverride AuthConfig<BR> Order
allow,deny<BR> Allow from all<BR></Directory></FONT></P>
<P><FONT face=Arial size=2>Does anyone have any suggetsions on what else can I
do to try and figure this out? Thanks.</FONT></P><DIV><FONT face='Arial' color=#000000 size=2></FONT> </DIV></BODY></HTML>