<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Everyone:<br>
<br>
I've been having a bit of problems setting up Version 1-1. I have tried
several things to get the error Premature end of script headers to go
away and allow me to run nagios.<br>
<br>
Setup:<br>
Nagios 1.1-5 Installed from nagios-1.1-5.dag.rh73.i386.rpm <br>
Nagios Plugins (latest version again rpm)<br>
<br>
Shared: /usr/share/nagios<br>
Conf: /etc/nagios<br>
CGI /usr/lib/nagios/cgi<br>
Plugins: /usr/lib/nagios/plugins<br>
<br>
Configuration - OK, Nagios starts via the init.d startup script without
errors or warnings.<br>
<br>
httpd.conf has Auth set for /usr/share/nagios but NOT
/usr/lib/nagios/cgi<br>
<br>
<span style="font-weight: bold;">httpd.conf additons:</span><br>
<Directory "/usr/share/nagios/"><br>
    Options None<br>
    AllowOverride AuthConfig<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
<Directory "/usr/lib/nagios/cgi/"><br>
    AllowOverride All<br>
    Options ExecCGI<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/<br>
Alias /nagios/ /usr/share/nagios/<br>
<br>
<br>
I've used the RPM installed cgi's and I have built the CGI's from the
tarball. Everything was done locally on this machine so there is not
problems like moving it around from windows to *unix.<br>
<br>
This is ALL cgi files too, so it's not the libgd problem and the
documentation and homepage work along with the links frame.<br>
<br>
I get the awful 500 error screen and error_log  reads :  Premature end
of script headers<br>
<br>
<br>
Does anyone know what is going on?<br>
<br>
Regards,<br>
<br>
Anders Finn<br>
</body>
</html>