Odd error with 1.1

Hazen Valliant-Saunders hazen at bookham.com
Mon Nov 3 13:26:31 CET 2003


Hello,
    I've installed NAGIOS on OpenBSD 3.3 and I get the following error when
attempting to access the cgi's 
 
    "Premature end of script headers: /htdocs/nagios/sbin/cginame.cgi"
 
I have configured nagios whith the following command:
./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

Here are the httpd.conf entries:
============================================
ScriptAlias /nagios/cgi-bin/ "/var/www/htdocs/nagios/sbin/"
 
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/htdocs/nagios/sbin">
    AllowOverride AuthConfig
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>
 
Alias /nagios/ "/var/www/htdocs/nagios/share/"
<Directory "/var/www/htdocs/nagios/share">
    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>
============================================
 
Htaccess works (on both the html and cgi-bin dir)
and I'm at a loss.
 
Any help appricated.
 
Thanks again.
Communications & Infrastructre
Bookham Technology 
Kanata ON
 
Phone:    +1 (613) 270-4104
Fax:        +1 (613) 270-4002
Mobile:    +1 (613) 355-5977
E-Mail: hazen at bookham.com <mailto:hazen at bookham.com> 
 




=======================================================================
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or
services.
=======================================================================
Any questions about Bookham's E-Mail service should be directed to
postmaster at bookham.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031103/0380e171/attachment.html>


More information about the Users mailing list