At my wits end with nagios

Hey,

Im installing nagios using the rpm found on there website (v1.2).

Stupidly, nagios web interface via rpm is only set to allow connections via the local host.

So I have changed the httpd.conf to allow connections, only problem is.

Whenever I go on a nagios cgi page I get a error in the error_log

[Mon Mar 29 17:42:36 2004] [error] [client 217.137.132.60] Premature end of script headers: /usr/lib/nagios/cgi/status.cgi
The httpd.conf file contains this...

ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
<Directory /usr/lib/nagios/cgi/>
AllowOverride AuthConfig
Options ExecCGI
order deny,allow
allow from all
</Directory>

Alias /nagios/ /usr/share/nagios/
<Directory /usr/share/nagios/>
Options None
order deny,allow
allow from all
</Directory>
Now the html loads fine, but I get a 500 error on cgi files. And the error above in the error_log file.

Just for reference, the files run fine using ./avail.cgi for example.

 

 

 

 

Top