<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=046090823-31102003><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=046090823-31102003> <FONT face=Arial
size=2>I've installed NAGIOS on OpenBSD 3.3 and I get the following error when
attempting to access the cgi's </FONT></SPAN></DIV>
<DIV><SPAN class=046090823-31102003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046090823-31102003> <FONT face=Arial
size=2>"Premature end of script headers:
/htdocs/nagios/sbin/cginame.cgi"</FONT></SPAN></DIV>
<DIV><SPAN class=046090823-31102003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046090823-31102003><FONT face=Arial size=2>I have configured
nagios whith the following command:</FONT></SPAN></DIV>
<DIV><SPAN class=046090823-31102003><FONT face=Arial size=2>./configure
--prefix=/var/www/htdocs/nagios --with-nagios-user=nagios
--with-nagios-group=nagios --with-gd-lib=/usr/local/lib
--with-gd-inc=/usr/local/include --with-mysql-lib=/usr/local/lib/mysql
--with-mysql-inc=/usr/local/include/mysql --with-mysql-xdata
--with-mysql-downtime --with-mysql-comments --with-mysql-status
--with-mysql-retention --with-mysql-extinfo<BR></FONT></SPAN></DIV>
<DIV><SPAN class=046090823-31102003><FONT face=Arial size=2>Here are the
httpd.conf entries:</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=046090823-31102003>============================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /nagios/cgi-bin/
"/var/www/htdocs/nagios/sbin/"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>#<BR># "/var/www/cgi-bin" should be
changed to whatever your ScriptAliased<BR># CGI directory exists, if you have
that configured.<BR>#<BR><Directory
"/var/www/htdocs/nagios/sbin"><BR> AllowOverride
AuthConfig<BR> Options ExecCGI<BR> Order
allow,deny<BR> Allow from
all<BR></Directory></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Alias /nagios/
"/var/www/htdocs/nagios/share/"<BR><Directory
"/var/www/htdocs/nagios/share"><BR> Options
None<BR> AllowOverride AuthConfig<BR> Order
allow,deny<BR> Allow from
all<BR></Directory></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=046090823-31102003>============================================</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=046090823-31102003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=046090823-31102003>Htaccess works (on
both the html and cgi-bin dir)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=046090823-31102003>and I'm at a
loss.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN class=046090823-31102003>Any help
appricated.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><SPAN class=046090823-31102003>Thanks
again.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Communications &
Infrastructre</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Bookham Technology </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kanata ON</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Phone: +1 (613)
270-4104</FONT></DIV>
<DIV align=left><FONT face=Arial
size=2>Fax: +1 (613)
270-4002</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Mobile: +1 (613)
355-5977</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>E-Mail: </FONT><FONT face=Arial
size=2><A href="mailto:hazen@bookham.com">hazen@bookham.com</A></FONT></DIV>
<DIV> </DIV><FONT SIZE=3><BR>
<BR>
<BR>
<BR>
=======================================================================<BR>
This e-mail is intended for the person it is addressed to only. The<BR>
information contained in it may be confidential and/or protected by<BR>
law. If you are not the intended recipient of this message, you must<BR>
not make any use of this information, or copy or show it to any<BR>
person. Please contact us immediately to tell us that you have<BR>
received this e-mail, and return the original to us. Any use,<BR>
forwarding, printing or copying of this message is strictly prohibited.<BR>
No part of this message can be considered a request for goods or<BR>
services.<BR>
=======================================================================<BR>
Any questions about Bookham's E-Mail service should be directed to<BR>
postmaster@bookham.com.<BR>
</FONT>
</BODY></HTML>